...
1 package activationcode
2
3 import (
4 "edge-infra.dev/pkg/edge/edgecli"
5 "edge-infra.dev/pkg/edge/edgecli/commands/activationcode/get"
6 "edge-infra.dev/pkg/edge/edgecli/commands/activationcode/list"
7 "edge-infra.dev/pkg/edge/edgecli/commands/activationcode/refresh"
8 "edge-infra.dev/pkg/lib/cli/command"
9 )
10
11 func NewCmd(cfg *edgecli.Config) *command.Command {
12 return &command.Command{
13 ShortUsage: "edge activationcode",
14 ShortHelp: "Commands related to clusters activation codes for terminals",
15
16 Commands: []*command.Command{
17 get.NewCmd(cfg),
18 refresh.NewCmd(cfg),
19 list.NewCmd(cfg),
20 },
21 }
22 }
23
View as plain text