diff --git a/.changeset/store-list-filter-by-store-type.md b/.changeset/store-list-filter-by-store-type.md new file mode 100644 index 00000000000..29a90e860f6 --- /dev/null +++ b/.changeset/store-list-filter-by-store-type.md @@ -0,0 +1,5 @@ +--- +'@shopify/store': minor +--- + +Add `store list --type` to list only dev, production, client transfer, or collaborator stores diff --git a/docs-shopify.dev/generated/generated_docs_data_v2.json b/docs-shopify.dev/generated/generated_docs_data_v2.json index a9b8a5ccc48..441003ff768 100644 --- a/docs-shopify.dev/generated/generated_docs_data_v2.json +++ b/docs-shopify.dev/generated/generated_docs_data_v2.json @@ -5356,6 +5356,15 @@ "isOptional": true, "environmentValue": "SHOPIFY_FLAG_ORGANIZATION_ID" }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-list.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--type ", + "value": "string", + "description": "List only stores of this type.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_STORE_TYPE" + }, { "filePath": "docs-shopify.dev/commands/interfaces/store-list.interface.ts", "syntaxKind": "PropertySignature", @@ -5375,7 +5384,7 @@ "environmentValue": "SHOPIFY_FLAG_JSON" } ], - "value": "export interface storelist {\n /**\n * Output the result as JSON. Automatically disables color output.\n * @environment SHOPIFY_FLAG_JSON\n */\n '-j, --json'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The numeric organization ID. Auto-selects if you belong to a single organization. Required if non interactive when more than one organization is available.\n * @environment SHOPIFY_FLAG_ORGANIZATION_ID\n */\n '--organization-id '?: string\n\n /**\n * Increase the verbosity of the output. May include sensitive data.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "value": "export interface storelist {\n /**\n * Output the result as JSON. Automatically disables color output.\n * @environment SHOPIFY_FLAG_JSON\n */\n '-j, --json'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The numeric organization ID. Auto-selects if you belong to a single organization. Required if non interactive when more than one organization is available.\n * @environment SHOPIFY_FLAG_ORGANIZATION_ID\n */\n '--organization-id '?: string\n\n /**\n * List only stores of this type.\n * @environment SHOPIFY_FLAG_STORE_TYPE\n */\n '--type '?: string\n\n /**\n * Increase the verbosity of the output. May include sensitive data.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" } }, "storeopen": { diff --git a/packages/cli/README.md b/packages/cli/README.md index 6a71eba3728..df0ec415868 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -3872,7 +3872,8 @@ List stores in a Shopify organization. ``` USAGE - $ shopify store list [-j] [--no-color] [--organization-id ] [--verbose] + $ shopify store list [-j] [--no-color] [--organization-id ] [--type + dev|production|client_transfer|collaborator] [--verbose] FLAGS -j, --json @@ -3888,6 +3889,11 @@ FLAGS more than one organization is available. [env: SHOPIFY_FLAG_ORGANIZATION_ID] + --type=