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

Function newNodesCmd

internal/cli/nodes.go:53–64  ·  view source on GitHub ↗

newNodesCmd returns the `nodes` parent command.

()

Source from the content-addressed store, hash-verified

51
52// newNodesCmd returns the `nodes` parent command.
53func newNodesCmd() *cobra.Command {
54 cmd := &cobra.Command{
55 Use: "nodes",
56 Short: "Manage and inspect Proxmox nodes",
57 }
58
59 cmd.AddCommand(newNodesListCmd())
60 cmd.AddCommand(newNodesShowCmd())
61 cmd.AddCommand(newNodesShellCmd())
62
63 return cmd
64}
65
66func newNodesListCmd() *cobra.Command {
67 return &cobra.Command{

Callers 1

initFunction · 0.85

Calls 3

newNodesListCmdFunction · 0.85
newNodesShowCmdFunction · 0.85
newNodesShellCmdFunction · 0.85

Tested by

no test coverage detected