Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4c6565 committed Jun 20, 2022
1 parent c84ddc4 commit bf54992
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/cloudflare/cloudflare_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func cloudflareAccountShowCmd(f factory.ClientFactory) *cobra.Command {
Use: "show <account: id>...",
Short: "Shows a account",
Long: "This command shows one or more accounts",
Example: "ukfast cloudflare account show 123",
Example: "ukfast cloudflare account show e3f8baa0-b7c3-4a7a-958d-68e1aca3ea25",
Args: func(cmd *cobra.Command, args []string) error {
if len(args) < 1 {
return errors.New("Missing account")
Expand Down Expand Up @@ -121,7 +121,7 @@ func cloudflareAccountUpdateCmd(f factory.ClientFactory) *cobra.Command {
Use: "update <account: id>...",
Short: "Updates an account",
Long: "This command updates one or more accounts",
Example: "ukfast cloudflare account update 123",
Example: "ukfast cloudflare account update e3f8baa0-b7c3-4a7a-958d-68e1aca3ea25",
Args: func(cmd *cobra.Command, args []string) error {
if len(args) < 1 {
return errors.New("Missing account")
Expand Down
2 changes: 1 addition & 1 deletion cmd/cloudflare/cloudflare_account_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func cloudflareAccountMemberCreateCmd(f factory.ClientFactory) *cobra.Command {
Use: "create",
Short: "Creates account members",
Long: "This command creates account members",
Example: "ukfast cloudflare account member create",
Example: "ukfast cloudflare account member create e84d6820-870a-4d69-89a4-30e9f1016518",
Args: func(cmd *cobra.Command, args []string) error {
if len(args) < 1 {
return errors.New("Missing account")
Expand Down
8 changes: 4 additions & 4 deletions cmd/cloudflare/cloudflare_zone.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func cloudflareZoneShowCmd(f factory.ClientFactory) *cobra.Command {
Use: "show <zone: id>...",
Short: "Shows a zone",
Long: "This command shows one or more zones",
Example: "ukfast cloudflare zone show 123",
Example: "ukfast cloudflare zone show 00000000-0000-0000-0000-000000000000",
Args: func(cmd *cobra.Command, args []string) error {
if len(args) < 1 {
return errors.New("Missing zone")
Expand Down Expand Up @@ -88,7 +88,7 @@ func cloudflareZoneCreateCmd(f factory.ClientFactory) *cobra.Command {
Use: "create <zone: id>",
Short: "Creates a zone",
Long: "This command creates a zone",
Example: "ukfast cloudflare zone create --cluster 123 --default-target-group 456 --name \"test-zone\" --mode http",
Example: "ukfast cloudflare zone create --account 621e88d4-c401-4063-bdcf-07ca3c09efed --name \"test-zone\" --subscription a144257d-df53-414e-a44d-3dd84ac90395",
RunE: cloudflareCobraRunEFunc(f, cloudflareZoneCreate),
}

Expand Down Expand Up @@ -126,7 +126,7 @@ func cloudflareZoneUpdateCmd(f factory.ClientFactory) *cobra.Command {
Use: "update <zone: id>...",
Short: "Removes a zone",
Long: "This command removes one or more zones",
Example: "ukfast cloudflare zone update 123",
Example: "ukfast cloudflare zone update 83d70af6-80ba-4463-abda-2880613efbc1",
Args: func(cmd *cobra.Command, args []string) error {
if len(args) < 1 {
return errors.New("Missing zone")
Expand Down Expand Up @@ -162,7 +162,7 @@ func cloudflareZoneDeleteCmd(f factory.ClientFactory) *cobra.Command {
Use: "delete <zone: id>...",
Short: "Removes a zone",
Long: "This command removes one or more zones",
Example: "ukfast cloudflare zone delete 123",
Example: "ukfast cloudflare zone delete 1c3081b2-d65e-41d1-8077-c86f21759366",
Args: func(cmd *cobra.Command, args []string) error {
if len(args) < 1 {
return errors.New("Missing zone")
Expand Down

0 comments on commit bf54992

Please sign in to comment.