MCPcopy 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
15func NewCmds() []*cobra.Command {
16 return []*cobra.Command{getCmd(), updateCmd(), revokeAllTokensCmd()}
17}
18
19func getCmd() *cobra.Command {
20 cmd := &cobra.Command{

Callers 5

NewRootCmdFunction · 0.92
TestGetAppJsonFormatFunction · 0.70
TestGetAppUnknownFormatFunction · 0.70
TestUpdateAppFunction · 0.70
TestRevokeAlTokensFunction · 0.70

Calls 3

revokeAllTokensCmdFunction · 0.85
getCmdFunction · 0.70
updateCmdFunction · 0.70

Tested by 4

TestGetAppJsonFormatFunction · 0.56
TestGetAppUnknownFormatFunction · 0.56
TestUpdateAppFunction · 0.56
TestRevokeAlTokensFunction · 0.56