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
14 changes: 14 additions & 0 deletions .changeset/wet-bats-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@shopify/cli-kit': patch
'@shopify/theme': patch
'@shopify/app': patch
---

Updated the environment flag to support glob patterns

For commands that support multiple environments you can now use glob patterns
to specify the environments, e.g. `--environment "*-production"`. It's important
to wrap any glob patterns in quotes to ensure your shell does not expand the
value before passing it to the CLI.

This comes with a side effect that environments will be deduplicated.
2 changes: 1 addition & 1 deletion bin/shadowenv/p
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -e

printf "\033[0;32mNote that p is an alias for pnpm activated by shadowenv in the CLI repository\n\033[0m"
pnpm $@
pnpm "$@"
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. 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. 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. 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 themedev {
/**
* The environment to apply to the current command.
* The environment to apply to the current command. 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. 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. 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. 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. 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. 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. 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. 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. 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 themepush {
'-d, --development'?: ''

/**
* The environment to apply to the current command.
* The environment to apply to the current command. 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. 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. Wrap the value in double quotes if you're using wildcards.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
Expand Down
Loading
Loading