stack-3.7.1: The Haskell Tool Stack
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2021

Stack.Types.ConfigSetOpts

Description

Types related to Stack's config set command.

Synopsis

Documentation

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.