2
0

root.go 361 B

123456789101112131415161718
  1. package gateway
  2. import (
  3. "github.com/spf13/cobra"
  4. )
  5. // rootCmd represents the base command when called without any subcommands.
  6. var rootCmd = &cobra.Command{
  7. Use: "gateway",
  8. Short: "Manage Gateways.",
  9. Long: `Manage Gateways.`,
  10. Aliases: []string{"gw"},
  11. }
  12. // GetRoot returns the root subcommand.
  13. func GetRoot() *cobra.Command {
  14. return rootCmd
  15. }