forked from toolshed/abra
refactor: move flag to internal/common
This commit is contained in:
@ -272,6 +272,18 @@ var DebugFlag = &cli.BoolFlag{
|
||||
Usage: "Show DEBUG messages",
|
||||
}
|
||||
|
||||
// Verbose stores the variable from VerboseFlag.
|
||||
var Verbose bool
|
||||
|
||||
// VerboseFlag turns on/off verbose logging down to the INFO level.
|
||||
var VerboseFlag = &cli.BoolFlag{
|
||||
Name: "verbose",
|
||||
Aliases: []string{"V"},
|
||||
Value: false,
|
||||
Destination: &Verbose,
|
||||
Usage: "Show INFO messages",
|
||||
}
|
||||
|
||||
// SSHFailMsg is a hopefully helpful SSH failure message
|
||||
var SSHFailMsg = `
|
||||
Woops, Abra is unable to connect to connect to %s.
|
||||
|
Reference in New Issue
Block a user