Shopify / Shopify/cli

[Feature] Support glob patterns in theme environment flags

Open
#6,481 14 comments 0 reactions 1 assignee View on GitHub

@graygilmore is already working on this.

Since Oct 8, 2025.

Area: @shopify/theme Type: Enhancement
Dominant language
TypeScript
Stars
750
Forks
293
Avg merge
3d 20h
Merged PRs (30d)
79

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.