diff --git a/cli/metrics/commands.go b/cli/metrics/commands.go index cae0e6a8..c7c483e3 100644 --- a/cli/metrics/commands.go +++ b/cli/metrics/commands.go @@ -35,7 +35,9 @@ var managementCommands = []string{ "container", "context", "create", + "dev", "ecs", + "extension", "image", "imagetools", "key", @@ -75,6 +77,7 @@ var commands = []string{ "convert", "cp", "create", + "debug", "demote", "deploy", "df", @@ -118,6 +121,7 @@ var commands = []string{ "remove", "rename", "render", + "reset", "restart", "revoke", "rm", @@ -138,6 +142,7 @@ var commands = []string{ "stop", "tag", "top", + "ui-source", "uninstall", "unlock", "unlock-key", diff --git a/cli/metrics/metrics_test.go b/cli/metrics/metrics_test.go index 5c4a7175..48aeb022 100644 --- a/cli/metrics/metrics_test.go +++ b/cli/metrics/metrics_test.go @@ -173,6 +173,11 @@ func TestGetCommand(t *testing.T) { args: []string{"--debug", "compose", "-f", "titi.yaml", "up"}, expected: "compose up", }, + { + name: "extension install myorg/my-extension", + args: []string{"extension", "install", "myorg/my-extension"}, + expected: "extension install", + }, } for _, testCase := range testCases {