stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Upgrade

Description

Types and functions related to Stack's upgrade command.

Synopsis

Documentation

data UpgradeOpts Source #

Type representing command line options for the stack upgrade command.

Constructors

UpgradeOpts 

Instances

Instances details
Show UpgradeOpts Source # 
Instance details

Defined in Stack.Upgrade

data BinaryOpts Source #

Type representing options for upgrading Stack with a binary executable file.

Constructors

BinaryOpts 

Fields

Instances

Instances details
Show BinaryOpts Source # 
Instance details

Defined in Stack.Upgrade

newtype SourceOpts Source #

Type representing options for upgrading Stack from source code.

Constructors

SourceOpts (Maybe (String, String)) 

Instances

Instances details
Show SourceOpts Source # 
Instance details

Defined in Stack.Upgrade

upgradeCmd :: UpgradeOpts -> RIO Runner () Source #

Function underlying the stack upgrade command.

upgrade Source #

Arguments

:: Maybe String

git hash at time of building, if known

-> UpgradeOpts 
-> RIO Runner ()