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

Function NewCmds

pkg/cmd/chat/channeltype/channeltype.go:14–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12)
13
14func NewCmds() []*cobra.Command {
15 return []*cobra.Command{
16 getCmd(),
17 createCmd(),
18 deleteCmd(),
19 updateCmd(),
20 listCmd(),
21 }
22}
23
24func getCmd() *cobra.Command {
25 cmd := &cobra.Command{

Callers 5

NewRootCmdFunction · 0.92
TestCreateChannelTypeFunction · 0.70
TestUpdateChannelTypeFunction · 0.70
TestDeleteChannelTypeFunction · 0.70
TestListChannelTypesFunction · 0.70

Calls 5

getCmdFunction · 0.70
createCmdFunction · 0.70
deleteCmdFunction · 0.70
updateCmdFunction · 0.70
listCmdFunction · 0.70

Tested by 4

TestCreateChannelTypeFunction · 0.56
TestUpdateChannelTypeFunction · 0.56
TestDeleteChannelTypeFunction · 0.56
TestListChannelTypesFunction · 0.56