mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-11 18:54:31 +00:00
Updated verbose flag
This commit is contained in:
@@ -301,6 +301,14 @@ func (c *CommandConfig) initGoPaths() {
|
||||
*/
|
||||
}
|
||||
|
||||
// Sets the versions on the command config.
|
||||
func (c *CommandConfig) GetVerbose() (verbose bool) {
|
||||
if len(c.Verbose) > 0 {
|
||||
verbose = c.Verbose[0]
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// Sets the versions on the command config.
|
||||
func (c *CommandConfig) SetVersions() (err error) {
|
||||
c.CommandVersion, _ = ParseVersion(cmd.Version)
|
||||
|
||||
Reference in New Issue
Block a user