commands
v0.1.8
Documentation
pkg.go.dev ↗Package commands contains global variables with configs and commands. nolint: gochecknoglobals, gochecknoinits
Package commands contains global variables with configs and commands. nolint: gochecknoglobals, gochecknoinits
Package commands contains global variables with configs and commands. nolint: gochecknoglobals, gochecknoinits, dupl
Package commands contains global variables with configs and commands. nolint: gochecknoglobals, gochecknoinits, dupl
Package commands process flags/environment variables/config file It contains global variables with configs and commands nolint: gochecknoglobals, gochecknoinits
Package commands process flags/environment variables/config file It contains global variables with configs and commands nolint: gochecknoglobals, gochecknoinits, unparam
Variables
RootCmd
var RootCmd = &cobra.Command{
Use: "grpc",
Short: "Service short description",
Long: `Service long description`,
}
RootCmd represents the base command when called without any subcommands.
Functions
Run
func Run()
Run adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.