Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
11
func
NewCmds() []*cobra.Command {
12
return
[]*cobra.Command{
13
uploadFileCmd(),
14
uploadImageCmd(),
15
deleteFileCmd(),
16
deleteImageCmd(),
17
}
18
}
19
20
func
uploadFileCmd() *cobra.Command {
21
cmd := &cobra.Command{
Callers
3
NewRootCmd
Function · 0.92
TestFileUploadAndDelete
Function · 0.70
TestImageUploadAndDelete
Function · 0.70
Calls
4
uploadFileCmd
Function · 0.85
uploadImageCmd
Function · 0.85
deleteFileCmd
Function · 0.85
deleteImageCmd
Function · 0.85
Tested by
2
TestFileUploadAndDelete
Function · 0.56
TestImageUploadAndDelete
Function · 0.56