MCPcopy Create free account
hub / github.com/VirusTotal/vt-cli / NewMonitorItemsUploadCmd

Function NewMonitorItemsUploadCmd

cmd/monitor.go:426–437  ·  view source on GitHub ↗

NewMonitorItemsUploadCmd returns a new instance of the 'mointor upload file' command.

()

Source from the content-addressed store, hash-verified

424
425// NewMonitorItemsUploadCmd returns a new instance of the 'mointor upload file' command.
426func NewMonitorItemsUploadCmd() *cobra.Command {
427 cmd := &cobra.Command{
428 Use: "upload [file/folder] [remote_path]",
429 Short: "Upload one or more files to your account",
430 Long: monitorItemUploadCmdHelp,
431 Example: monitorItemUploadCmdExample,
432 Args: cobra.ExactArgs(2),
433 RunE: runMonitorItemUpload,
434 }
435 addThreadsFlag(cmd.Flags())
436 return cmd
437}
438
439var monitorCmdHelp = `Manage your VirusTotal Monitor account.
440

Callers 1

NewMonitorCmdFunction · 0.85

Calls 1

addThreadsFlagFunction · 0.85

Tested by

no test coverage detected