newTasksCmd returns the `tasks` parent command.
()
| 22 | |
| 23 | // newTasksCmd returns the `tasks` parent command. |
| 24 | func newTasksCmd() *cobra.Command { |
| 25 | cmd := &cobra.Command{ |
| 26 | Use: "tasks", |
| 27 | Short: "Inspect Proxmox cluster tasks", |
| 28 | } |
| 29 | |
| 30 | cmd.AddCommand(newTasksListCmd()) |
| 31 | |
| 32 | return cmd |
| 33 | } |
| 34 | |
| 35 | func newTasksListCmd() *cobra.Command { |
| 36 | cmd := &cobra.Command{ |
no test coverage detected