| License | BSD-3-Clause |
|---|---|
| Safe Haskell | None |
| Language | GHC2024 |
Stack.Types.ConfigSetOpts
Description
Types related to Stack's config set command.
Synopsis
- data ConfigCmdSet
- = ConfigCmdSetSnapshot !(Unresolved AbstractSnapshot)
- | ConfigCmdSetResolver !(Unresolved AbstractSnapshot)
- | ConfigCmdSetSystemGhc !CommandScope !Bool
- | ConfigCmdSetInstallGhc !CommandScope !Bool
- | ConfigCmdSetInstallMsys !CommandScope !Bool
- | ConfigCmdSetRecommendStackUpgrade !CommandScope !Bool
- | ConfigCmdSetDownloadPrefix !CommandScope !Text
- data CommandScope
- configCmdSetScope :: ConfigCmdSet -> CommandScope
Documentation
data ConfigCmdSet Source #
Type representing options for Stack's config set command.
Constructors
data CommandScope Source #
Type representing scopes for Stack's config set command.
Constructors
| CommandScopeGlobal | Apply changes to Stack's global configuration file. |
| CommandScopeProject | Apply changes to Stack's project-level configuration file. |
configCmdSetScope :: ConfigCmdSet -> CommandScope Source #
Yields the command scope for the given config command option.