Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "staffio", Short: "Staffio command line portal", Long: `Staffio main command.`, Run: func(cmd *cobra.Command, args []string) { cmd.ParseFlags(args) if v, err := cmd.Flags().GetBool("version"); err == nil && v { fmt.Println(config.Version()) } else { cmd.Usage() } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.