MCPcopy Create free account
hub / github.com/GetStream/stream-cli / NewRootCmd

Function NewRootCmd

pkg/cmd/config/config.go:17–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15)
16
17func NewRootCmd() *cobra.Command {
18 cmd := &cobra.Command{
19 Use: "config",
20 Short: "Manage app configurations",
21 }
22
23 cmd.AddCommand(newAppCmd(), removeAppCmd(), listAppsCmd(), setAppDefaultCmd())
24
25 return cmd
26}
27
28func newAppCmd() *cobra.Command {
29 return &cobra.Command{

Callers

nothing calls this directly

Calls 4

newAppCmdFunction · 0.85
removeAppCmdFunction · 0.85
listAppsCmdFunction · 0.85
setAppDefaultCmdFunction · 0.85

Tested by

no test coverage detected