-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsts.go
More file actions
35 lines (31 loc) · 1.01 KB
/
sts.go
File metadata and controls
35 lines (31 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package cmd
import (
"github.com/spf13/cobra"
"github.com/stackvista/stackstate-cli/internal/di"
)
func STSCommand(cli *di.Deps) *cobra.Command {
cmd := &cobra.Command{
Use: "sts",
Short: "StackState: topology-powered observability", // never actually visible
Long: "StackState: topology-powered observability.",
}
cmd.SetUsageTemplate(cmd.UsageTemplate() +
"For more information about this CLI visit https://l.stackstate.com/cli\n",
)
cmd.AddCommand(ContextCommand(cli))
cmd.AddCommand(VersionCommand(cli))
cmd.AddCommand(ScriptCommand(cli))
cmd.AddCommand(SettingsCommand(cli))
cmd.AddCommand(StackPackCommand(cli))
cmd.AddCommand(MonitorCommand(cli))
cmd.AddCommand(ServiceTokenCommand(cli))
cmd.AddCommand(HealthCommand(cli))
cmd.AddCommand(LicenseCommand(cli))
cmd.AddCommand(GraphCommand(cli))
cmd.AddCommand(RbacCommand(cli))
cmd.AddCommand(TopicCommand(cli))
cmd.AddCommand(TopologySyncCommand(cli))
cmd.AddCommand(AgentCommand(cli))
cmd.AddCommand(UserSessionCommand(cli))
return cmd
}