Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GetStream/stream-cli
/ NewCmds
Function
NewCmds
pkg/cmd/chat/app/app.go:15–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
)
14
15
func
NewCmds() []*cobra.Command {
16
return
[]*cobra.Command{getCmd(), updateCmd(), revokeAllTokensCmd()}
17
}
18
19
func
getCmd() *cobra.Command {
20
cmd := &cobra.Command{
Callers
5
NewRootCmd
Function · 0.92
TestGetAppJsonFormat
Function · 0.70
TestGetAppUnknownFormat
Function · 0.70
TestUpdateApp
Function · 0.70
TestRevokeAlTokens
Function · 0.70
Calls
3
revokeAllTokensCmd
Function · 0.85
getCmd
Function · 0.70
updateCmd
Function · 0.70
Tested by
4
TestGetAppJsonFormat
Function · 0.56
TestGetAppUnknownFormat
Function · 0.56
TestUpdateApp
Function · 0.56
TestRevokeAlTokens
Function · 0.56