Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupCmd = &cobra.Command{
Use: "orders",
Short: "Orders commands",
}
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "List orders", Long: "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.", Run: func(cmd *cobra.Command, args []string) { r, err := api.Request().HostingListOrdersV1WithResponse(context.TODO(), listParams(cmd)) 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.