License | BSD-3-Clause |
---|---|
Safe Haskell | None |
Language | GHC2021 |
Stack.Types.UpgradeOpts
Description
Types for command line options for Stack's upgrade
command.
Synopsis
- data UpgradeOpts = UpgradeOpts {
- binary :: !(Maybe BinaryOpts)
- source :: !(Maybe SourceOpts)
- data BinaryOpts = BinaryOpts {}
- newtype SourceOpts = SourceOpts (Maybe (String, String))
Documentation
data UpgradeOpts Source #
Type representing command line options for the stack upgrade
command.
Constructors
UpgradeOpts | |
Fields
|
Instances
Show UpgradeOpts Source # | |
Defined in Stack.Types.UpgradeOpts Methods showsPrec :: Int -> UpgradeOpts -> ShowS show :: UpgradeOpts -> String # showList :: [UpgradeOpts] -> ShowS |
data BinaryOpts Source #
Type representing options for upgrading Stack with a binary executable file.
Constructors
BinaryOpts | |
Fields |
Instances
Show BinaryOpts Source # | |
Defined in Stack.Types.UpgradeOpts Methods showsPrec :: Int -> BinaryOpts -> ShowS show :: BinaryOpts -> String # showList :: [BinaryOpts] -> ShowS |
newtype SourceOpts Source #
Type representing options for upgrading Stack from source code.
Constructors
SourceOpts (Maybe (String, String)) |
Instances
Show SourceOpts Source # | |
Defined in Stack.Types.UpgradeOpts Methods showsPrec :: Int -> SourceOpts -> ShowS show :: SourceOpts -> String # showList :: [SourceOpts] -> ShowS |