stack-3.9.1: A program for developing Haskell projects
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2024

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 AbstractSnapshot -> RIO env () Source #

Generate a stack.yaml file.