Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GetStream/stream-cli
/ NewCmds
Function
NewCmds
pkg/cmd/chat/device/device.go:12–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
)
11
12
func
NewCmds() []*cobra.Command {
13
return
[]*cobra.Command{
14
createCmd(),
15
listCmd(),
16
deleteCmd(),
17
}
18
}
19
20
func
createCmd() *cobra.Command {
21
cmd := &cobra.Command{
Callers
2
NewRootCmd
Function · 0.92
TestDevice
Function · 0.70
Calls
3
createCmd
Function · 0.70
listCmd
Function · 0.70
deleteCmd
Function · 0.70
Tested by
1
TestDevice
Function · 0.56