Skip to content

Commit

Permalink
Updates list CDNs example to have description (#1520)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrian57 authored Apr 1, 2024
1 parent 3c35162 commit 32566d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/cdns.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The Time To Live (TTL) value is the length of time in seconds that a file is cac
CertIDDesc := "Specify a certificate ID for the custom domain"
cmdCDNList := CmdBuilder(cmd, RunCDNList, "list", "List CDNs that have already been created", `Retrieves a list of your existing Content Delivery Networks (CDNs) and their following details:`+CDNDetails, Writer,
aliasOpt("ls"), displayerType(&displayers.CDN{}))
cmdCDNList.Example = "doctl compute cdn list"
cmdCDNList.Example = `The following example retrieves a list of CDNs for your account. The command uses the ` + "`" + `--format` + "`" + ` flag to only return each CDN` + "`" + `'` + "`" + `s origin endpoint, CDN endpoint, and certificate ID: doctl compute cdn list --format ID,Origin,Endpoint,CertificateID`

cmdCDNCreate := CmdBuilder(cmd, RunCDNCreate, "create <cdn-origin>", "Create a CDN", `Creates a Content Delivery Network (CDN) on the origin server you specify and automatically generates an endpoint. You can also use a custom subdomain you own to create an additional endpoint, which must be secured with SSL.`+CDNnotes, Writer,
aliasOpt("c"), displayerType(&displayers.CDN{}))
Expand Down

0 comments on commit 32566d9

Please sign in to comment.