dcloud deploy domains addAttach a custom domain to an app
IAM deploy:ManageDomainChanges stateAsks before it deletes (-y skips)
Synopsis
dcloud deploy domains add id --domain domain [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--domainRequiredstring
Hostname to serve the app on, or *.host for every subdomain of host
Constraints: 1-253 chars, /^(\*\.)?[a-z0-9.-]+$/i
--is-primaryOptionalboolean (--is-primary / --no-is-primary)
Mark this as the app’s primary domain; default false
Example
dcloud deploy domains add id --domain exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.