Safe Haskell | None |
---|---|
Language | GHC2021 |
Stack.Options.Utils
Documentation
data GlobalOptsContext Source #
Allows adjust global options depending on their context Note: This was being used to remove ambiguity between the local and global implementation of stack init --snapshot option. Now that stack init has no local --snapshot this is not being used anymore but the code is kept for any similar future use cases.
Constructors
OuterGlobalOpts | Global options before subcommand name |
OtherCmdGlobalOpts | Global options following any other subcommand |
BuildCmdGlobalOpts | |
GhciCmdGlobalOpts |
Instances
Show GlobalOptsContext Source # | |
Defined in Stack.Options.Utils Methods showsPrec :: Int -> GlobalOptsContext -> ShowS # show :: GlobalOptsContext -> String # showList :: [GlobalOptsContext] -> ShowS # | |
Eq GlobalOptsContext Source # | |
Defined in Stack.Options.Utils Methods (==) :: GlobalOptsContext -> GlobalOptsContext -> Bool # (/=) :: GlobalOptsContext -> GlobalOptsContext -> Bool # |