Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "connector", Short: "Provides platform services to a cocoon code", Long: `Provides platform services to a cocoon code`, Run: func(cmd *cobra.Command, args []string) { showVersion, _ := cmd.Flags().GetBool("version") if showVersion { fmt.Println("Connector version", version) return } fmt.Println(cmd.Long) fmt.Println("") cmd.Usage() }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.