Skip to content

accept --domain as a flag when deploying #10215

@threepointone

Description

@threepointone

Describe the solution

We currently accept --route when deploying workers, which makes it easy to pass in custom routes for templates etc via the cli. however, this doesn't work with custom domains. It would be cool if we could pass --domain, which could convert into a config { pattern: domain, custom_domain: true}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwranglerRelating to the Wrangler CLI tool
    No fields configured for Feature.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions