fix: remove duplicate version command
All checks were successful
continuous-integration/drone/push Build is passing

We can use --version/-v instead.
This commit is contained in:
decentral1se 2021-10-20 17:48:50 +02:00
parent 39babea963
commit 640032b8fe
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 0 additions and 16 deletions

View File

@ -60,7 +60,6 @@ func newAbraApp(version, commit string) *cli.App {
recipe.RecipeCommand,
catalogue.CatalogueCommand,
domain.DomainCommand,
VersionCommand,
UpgradeCommand,
},
Flags: []cli.Flag{

View File

@ -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
},
}