HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecabal-install-3.12.1.0Haskell2010

Distribution.Client.Init.Interactive.Command

Implementation of the 'cabal init' command, which creates an initial .cabal file for a project.

  • 21 values

Commands

1 declaration

Target generation

Extract flags relevant to a test target and interactively generate a TestTarget object for creation. If the user specifies the generation of a simple package, then a simple target with defaults is generated.

Note: this workflow is only enabled if the user answers affirmatively when prompted, or if the user passes in the flag to enable test suites at command line.

Prompts