Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "connect", Short: "Domain commands: ovhcli connect", Long: `Domain commands: ovhcli connect`, Run: func(cmd *cobra.Command, args []string) { c, err := ovh.NewDefaultClient() common.Check(err) ckReq := c.NewCkRequest() ckReq.AddRules(ovh.ReadWrite, "/*") response, err := ckReq.Do() common.Check(err) fmt.Printf("Please visit %s to complete your login\n", response.ValidationURL) if err = writeConsumerKey(response.ConsumerKey); err != nil { common.Check(err) } }, }
Cmd domain
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.