Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Types and functions related to Stack's init
command.
Synopsis
- data InitOpts = InitOpts {
- searchDirs :: ![Text]
- omitPackages :: Bool
- forceOverwrite :: Bool
- includeSubDirs :: Bool
- initCmd :: InitOpts -> RIO Runner ()
- initProject :: (HasConfig env, HasGHCVariant env) => Path Abs Dir -> InitOpts -> Maybe AbstractResolver -> RIO env ()
Documentation
Type representing command line options for the stack init
command.
InitOpts | |
|
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.