diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-01-13 21:15:43 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-01-13 21:15:43 -0500 |
| commit | f955314b3d554e1d818650b905875e4c08429846 (patch) | |
| tree | 0a241a9999d35b687732e7d2a54fd4848011671a /pkg | |
| parent | Tweak readme (diff) | |
| download | cli-f955314b3d554e1d818650b905875e4c08429846.zip | |
Add version command
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/cli/cli.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/cli/cli.go b/pkg/cli/cli.go index fb9d1f3..29a10ff 100644 --- a/pkg/cli/cli.go +++ b/pkg/cli/cli.go @@ -13,6 +13,7 @@ func Run() int { subcommands.Register(subcommands.HelpCommand(), "") subcommands.Register(subcommands.FlagsCommand(), "") subcommands.Register(subcommands.CommandsCommand(), "") + subcommands.Register(&commands.VersionCmd{}, "") subcommands.Register(&commands.NewCmd{}, "") subcommands.Register(&commands.UpCmd{}, "") subcommands.Register(&commands.DownCmd{}, "") |