Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
func
NewCmds() []*cobra.Command {
15
return
[]*cobra.Command{
16
getCmd(),
17
createCmd(),
18
deleteCmd(),
19
updateCmd(),
20
listCmd(),
21
}
22
}
23
24
func
getCmd() *cobra.Command {
25
cmd := &cobra.Command{
Callers
5
NewRootCmd
Function · 0.92
TestCreateChannelType
Function · 0.70
TestUpdateChannelType
Function · 0.70
TestDeleteChannelType
Function · 0.70
TestListChannelTypes
Function · 0.70
Calls
5
getCmd
Function · 0.70
createCmd
Function · 0.70
deleteCmd
Function · 0.70
updateCmd
Function · 0.70
listCmd
Function · 0.70
Tested by
4
TestCreateChannelType
Function · 0.56
TestUpdateChannelType
Function · 0.56
TestDeleteChannelType
Function · 0.56
TestListChannelTypes
Function · 0.56