Skip to content

Commit

Permalink
[cli] adds the initial node command
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlott committed Jul 24, 2023
1 parent fdfadf3 commit c38976b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/client/cli/node.go
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit c38976b

Please sign in to comment.