stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Init

Description

Types and functions related to Stack's init command.

Synopsis

Documentation

data InitOpts Source #

Type representing command line options for the stack init command.

Constructors

InitOpts 

Fields

initCmd :: InitOpts -> RIO Runner () Source #

Function underlying the stack init command. Project initialization.

initProject :: (HasConfig env, HasGHCVariant env) => Path Abs Dir -> InitOpts -> Maybe AbstractResolver -> RIO env () Source #

Generate a stack.yaml file.