HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulecabal-install-3.16.0.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