Skip to content

[Feature] Support glob patterns in theme environment flags #6481

@dejmedus

Description

@dejmedus

What area(s) will this request affect?

Theme

What type of change do you want to see?

New feature

Overview

When working with multiple environments that share naming conventions (e.g., int-production, us-production, eu-production), we currently need to specify each environment individually:

shopify theme delete -e int-production -e us-production -e eu-production

Instead we could allow glob patterns in environment flags to match multiple environments:

shopify theme delete -e "*-production"

Motivation

Theme Kit allowed this, but theme commands currently do not. This will make running multi environment commands easier

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions