From 00d8ca968985e38193d0e370c2b93e1675e3d7a4 Mon Sep 17 00:00:00 2001 From: shakezula Date: Mon, 24 Jul 2023 12:33:21 -0600 Subject: [PATCH] [cli] adds the initial node command --- app/client/cli/node.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/client/cli/node.go diff --git a/app/client/cli/node.go b/app/client/cli/node.go new file mode 100644 index 000000000..96a8674c6 --- /dev/null +++ b/app/client/cli/node.go @@ -0,0 +1,18 @@ +package cli + +import "github.com/spf13/cobra" + +func init() { + nodeCmd := NewNodeCommand() + rootCmd.AddCommand(nodeCmd) +} + +func NewNodeCommand() *cobra.Command { + cmd := &cobra.Command{ + Use: "Node", + Short: "Commands related to node management and operations", + Aliases: []string{"node", "n"}, + } + + return cmd +}