Skip to content

Commit ce0dbf5

Browse files
authored
Merge pull request #21 from wherobots/refactor/remove-version-subcommand
refactor: remove redundant version subcommand
2 parents 58511d4 + 4021889 commit ce0dbf5

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

internal/commands/version.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ func run(ctx context.Context) error {
5050
root.Version = versionString
5151
root.Short = fmt.Sprintf("Wherobots CLI %s", buildVersion)
5252
commands.AddUpgradeCommand(root, buildVersion)
53-
commands.AddVersionCommand(root, versionString)
5453
execErr := root.ExecuteContext(ctx)
5554

5655
// After the command finishes, print an update notice if one is available.

0 commit comments

Comments
 (0)