Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Types and functions related to Stack's upgrade
command.
Synopsis
- data UpgradeOpts = UpgradeOpts {
- _uoBinary :: !(Maybe BinaryOpts)
- _uoSource :: !(Maybe SourceOpts)
- data BinaryOpts = BinaryOpts {
- _boPlatform :: !(Maybe String)
- _boForce :: !Bool
- _boOnlyLocalBin :: !Bool
- _boVersion :: !(Maybe String)
- _boGitHubOrg :: !(Maybe String)
- _boGitHubRepo :: !(Maybe String)
- newtype SourceOpts = SourceOpts (Maybe (String, String))
- upgradeCmd :: UpgradeOpts -> RIO Runner ()
- upgrade :: Maybe String -> UpgradeOpts -> RIO Runner ()
Documentation
data UpgradeOpts Source #
Type representing command line options for the stack upgrade
command.
UpgradeOpts | |
|
Instances
Show UpgradeOpts Source # | |
Defined in Stack.Upgrade showsPrec :: Int -> UpgradeOpts -> ShowS # show :: UpgradeOpts -> String # showList :: [UpgradeOpts] -> ShowS # |
data BinaryOpts Source #
Type representing options for upgrading Stack with a binary executable file.
BinaryOpts | |
|
Instances
Show BinaryOpts Source # | |
Defined in Stack.Upgrade showsPrec :: Int -> BinaryOpts -> ShowS # show :: BinaryOpts -> String # showList :: [BinaryOpts] -> ShowS # |
newtype SourceOpts Source #
Type representing options for upgrading Stack from source code.
SourceOpts (Maybe (String, String)) |
Instances
Show SourceOpts Source # | |
Defined in Stack.Upgrade showsPrec :: Int -> SourceOpts -> ShowS # show :: SourceOpts -> String # showList :: [SourceOpts] -> ShowS # |
upgradeCmd :: UpgradeOpts -> RIO Runner () Source #
Function underlying the stack upgrade
command.