MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / newTasksCmd

Function newTasksCmd

internal/cli/tasks.go:24–33  ·  view source on GitHub ↗

newTasksCmd returns the `tasks` parent command.

()

Source from the content-addressed store, hash-verified

22
23// newTasksCmd returns the `tasks` parent command.
24func 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
35func newTasksListCmd() *cobra.Command {
36 cmd := &cobra.Command{

Callers 1

initFunction · 0.85

Calls 1

newTasksListCmdFunction · 0.85

Tested by

no test coverage detected