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