package machine import ( "github.com/spf13/cobra" ) func NewRootCommand() *cobra.Command { cmd := &cobra.Command{ Use: "machine", Aliases: []string{"m"}, Short: "Manage machines in the cluster.", } cmd.AddCommand( NewAddCommand(), NewInitCommand(), NewListCommand(), NewLogsCommand(), NewRenameCommand(), NewRmCommand(), NewRTTCommand(), NewUpdateCommand(), ) return cmd }