Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateBot = &cobra.Command{ Use: "create-bot", Short: "Creates a new bot", Run: func(cmd *cobra.Command, args []string) { httpClient := &http.Client{} xcodeClient := xcode.New(httpClient) req := &xcode.CreateBotRequest{ Name: botName, Configuration: &xcode.Configuration{}, } success, failure, err := xcodeClient.Bot.Create(req) if err != nil { spew.Dump(failure, err) return } spew.Dump(success) }, }
View Source
var RootCmd = &cobra.Command{
Use: "golem",
Short: "",
Long: `Not yet`,
RunE: runE,
}
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.