fix: remove duplicate version command
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
We can use --version/-v instead.
This commit is contained in:
parent
39babea963
commit
640032b8fe
@ -60,7 +60,6 @@ func newAbraApp(version, commit string) *cli.App {
|
||||
recipe.RecipeCommand,
|
||||
catalogue.CatalogueCommand,
|
||||
domain.DomainCommand,
|
||||
VersionCommand,
|
||||
UpgradeCommand,
|
||||
},
|
||||
Flags: []cli.Flag{
|
||||
|
@ -1,15 +0,0 @@
|
||||
package cli
|
||||
|
||||
import (
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
// VersionCommand prints the version of abra.
|
||||
var VersionCommand = &cli.Command{
|
||||
Name: "version",
|
||||
Usage: "Print version",
|
||||
Action: func(c *cli.Context) error {
|
||||
cli.VersionPrinter(c)
|
||||
return nil
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue
Block a user