diff --git a/cli/cmd/main.go b/cli/cmd/main.go index f31bc64..f99df18 100644 --- a/cli/cmd/main.go +++ b/cli/cmd/main.go @@ -24,16 +24,18 @@ var version = "dev" var cli struct { cmds.GlobalArgs - Deploy cmds.DeployCmd `cmd:"" help:"Deploy a project."` - Dump cmds.DumpCmd `cmd:"" help:"Dumps a project's blueprint to JSON."` - CI cmds.CICmd `cmd:"" help:"Simulate a CI run."` - Release cmds.ReleaseCmd `cmd:"" help:"Release a project."` - Run cmds.RunCmd `cmd:"" help:"Run an Earthly target."` - Scan cmds.ScanCmd `cmd:"" help:"Scan for Earthfiles."` - Secret cmds.SecretCmd `cmd:"" help:"Manage secrets."` - Tag cmds.TagCmd `cmd:"" help:"Generate a tag for a project."` - Validate cmds.ValidateCmd `cmd:"" help:"Validates a project."` - Version VersionCmd `cmd:"" help:"Print the version."` + Deploy cmds.DeployCmd `kong:"cmd" help:"Deploy a project."` + Dump cmds.DumpCmd `kong:"cmd" help:"Dumps a project's blueprint to JSON."` + CI cmds.CICmd `kong:"cmd" help:"Simulate a CI run."` + Release cmds.ReleaseCmd `kong:"cmd" help:"Release a project."` + Run cmds.RunCmd `kong:"cmd" help:"Run an Earthly target."` + Scan cmds.ScanCmd `kong:"cmd" help:"Scan for Earthfiles."` + Secret cmds.SecretCmd `kong:"cmd" help:"Manage secrets."` + Tag cmds.TagCmd `kong:"cmd" help:"Generate a tag for a project."` + Validate cmds.ValidateCmd `kong:"cmd" help:"Validates a project."` + Version VersionCmd `kong:"cmd" help:"Print the version."` + + InstallCompletions kongplete.InstallCompletions `cmd:"" help:"install shell completions"` } type VersionCmd struct{}