MCPcopy Create free account
hub / github.com/GetStream/stream-cli / NewCmds

Function NewCmds

pkg/cmd/chat/file/file.go:11–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func NewCmds() []*cobra.Command {
12 return []*cobra.Command{
13 uploadFileCmd(),
14 uploadImageCmd(),
15 deleteFileCmd(),
16 deleteImageCmd(),
17 }
18}
19
20func uploadFileCmd() *cobra.Command {
21 cmd := &cobra.Command{

Callers 3

NewRootCmdFunction · 0.92
TestFileUploadAndDeleteFunction · 0.70
TestImageUploadAndDeleteFunction · 0.70

Calls 4

uploadFileCmdFunction · 0.85
uploadImageCmdFunction · 0.85
deleteFileCmdFunction · 0.85
deleteImageCmdFunction · 0.85

Tested by 2

TestFileUploadAndDeleteFunction · 0.56
TestImageUploadAndDeleteFunction · 0.56