refactor: move flag to internal/common

This commit is contained in:
2021-12-19 16:00:16 +01:00
parent a925da8dee
commit 9ddf69b988
2 changed files with 13 additions and 10 deletions

View File

@ -284,6 +284,17 @@ var VerboseFlag = &cli.BoolFlag{
Usage: "Show INFO messages",
}
// RC signifies the latest release candidate
var RC bool
// RCFlag chooses the latest release candidate for install
var RCFlag = &cli.BoolFlag{
Name: "rc",
Value: false,
Destination: &RC,
Usage: "Insatll the latest release candidate",
}
// SSHFailMsg is a hopefully helpful SSH failure message
var SSHFailMsg = `
Woops, Abra is unable to connect to connect to %s.