Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DomainDnsStatusCmd = &cobra.Command{ Use: "domain-dns-status <profile-uuid>", Short: "Get profile domain DNS status", Long: "Retrieve the DNS configuration status for a profile's domain.\n\nThis endpoint reports the state of MX, SPF, DKIM and DMARC records, including the\nactual records found and the suggested records required for correct email delivery.", Args: cobra.MatchAll(cobra.ExactArgs(1)), Run: func(cmd *cobra.Command, args []string) { r, err := api.Request().ReachGetProfileDomainDNSStatusV1WithResponse(context.TODO(), args[0]) if err != nil { log.Fatal(err) } output.Format(cmd, r.Body, r.StatusCode()) }, }
View Source
var GroupCmd = &cobra.Command{
Use: "profiles",
Short: "Profiles commands",
}
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "List Profiles", Long: "This endpoint returns all profiles available to the client, including their basic information.", Run: func(cmd *cobra.Command, args []string) { r, err := api.Request().ReachListProfilesV1WithResponse(context.TODO()) if err != nil { log.Fatal(err) } output.Format(cmd, r.Body, r.StatusCode()) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.