NewMonitorItemsUploadCmd returns a new instance of the 'mointor upload file' command.
()
| 424 | |
| 425 | // NewMonitorItemsUploadCmd returns a new instance of the 'mointor upload file' command. |
| 426 | func 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 | |
| 439 | var monitorCmdHelp = `Manage your VirusTotal Monitor account. |
| 440 |
no test coverage detected