Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/glob-environment-patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@shopify/cli-kit': patch
'@shopify/theme': patch
---

Add glob pattern support for the `--environment` flag. You can now use patterns
like `--environment "*-production"` to target multiple environments at once.
Wrap glob patterns in quotes to prevent shell expansion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface themecheck {
'-C, --config <value>'?: string

/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is an autogenerated file. Don't edit this file manually.
export interface themeconsole {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface themedelete {
'-d, --development'?: ''

/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface themedev {
'-a, --allow-live'?: ''

/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is an autogenerated file. Don't edit this file manually.
export interface themeduplicate {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface themeinfo {
'-d, --development'?: ''

/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is an autogenerated file. Don't edit this file manually.
export interface themelist {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is an autogenerated file. Don't edit this file manually.
export interface thememetafieldspull {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface themeopen {
'-E, --editor'?: ''

/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is an autogenerated file. Don't edit this file manually.
export interface themepreview {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is an autogenerated file. Don't edit this file manually.
export interface themeprofile {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is an autogenerated file. Don't edit this file manually.
export interface themepublish {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface themepull {
'-d, --development'?: ''

/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface themepush {
'-c, --development-context <value>'?: string

/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface themerename {
'-d, --development'?: ''

/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is an autogenerated file. Don't edit this file manually.
export interface themeshare {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. Supports glob patterns (e.g. "*-production"). Patterns that resolve to multiple environments only work on commands that support multiple environments. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Loading
Loading