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

Stack.New

Description

Types and functions related to Stack's new command.

Synopsis

Documentation

data NewOpts Source #

Type representing command line options for the stack new command (other than those applicable also to the stack init command).

Constructors

NewOpts 

Fields

newCmd :: (NewOpts, InitOpts) -> RIO Runner () Source #

Function underlying the stack new command. Create a project directory structure and initialize the Stack config.

new :: HasConfig env => NewOpts -> Bool -> RIO env (Path Abs Dir) Source #

Create a new project with the given options.