From ff99e53292d2b90e80df1fbfcf7405d3c4ca699c Mon Sep 17 00:00:00 2001 From: Ariel Caplan Date: Wed, 2 Sep 2026 14:12:33 +0300 Subject: [PATCH] Unhide store create dev and store delete Removes `static hidden = true` from both commands ahead of their public release, and regenerates every artifact that describes the CLI's public command surface: the oclif manifest, the CLI README, the `shopify commands --tree` snapshot, and the shopify.dev reference docs. Co-Authored-By: Claude Opus 5 (1M context) Assisted-By: devx/13746eb2-e5e2-4de0-b1fd-476a489da9c3 --- .changeset/unhide-store-create-dev.md | 6 + .changeset/unhide-store-delete.md | 6 + .../generated/generated_docs_data_v2.json | 156 ++++++++++++++++++ packages/cli/README.md | 110 ++++++++++++ packages/cli/oclif.manifest.json | 2 - packages/e2e/data/snapshots/commands.txt | 2 + .../src/cli/commands/store/create/dev.ts | 2 - .../store/src/cli/commands/store/delete.ts | 2 - 8 files changed, 280 insertions(+), 6 deletions(-) create mode 100644 .changeset/unhide-store-create-dev.md create mode 100644 .changeset/unhide-store-delete.md diff --git a/.changeset/unhide-store-create-dev.md b/.changeset/unhide-store-create-dev.md new file mode 100644 index 00000000000..19cc6646d44 --- /dev/null +++ b/.changeset/unhide-store-create-dev.md @@ -0,0 +1,6 @@ +--- +'@shopify/cli': minor +'@shopify/store': minor +--- + +Add `shopify store create dev` to create a development store in a Shopify organization. diff --git a/.changeset/unhide-store-delete.md b/.changeset/unhide-store-delete.md new file mode 100644 index 00000000000..8b9779d9221 --- /dev/null +++ b/.changeset/unhide-store-delete.md @@ -0,0 +1,6 @@ +--- +'@shopify/cli': minor +'@shopify/store': minor +--- + +Add `shopify store delete` to delete a development store from a Shopify organization. diff --git a/docs-shopify.dev/generated/generated_docs_data_v2.json b/docs-shopify.dev/generated/generated_docs_data_v2.json index a9b8a5ccc48..397572b4dea 100644 --- a/docs-shopify.dev/generated/generated_docs_data_v2.json +++ b/docs-shopify.dev/generated/generated_docs_data_v2.json @@ -5047,6 +5047,98 @@ "value": "export interface storebulkstatus {\n /**\n * The bulk operation ID (numeric ID or full GID). If not provided, lists all bulk operations on this store in the last 7 days.\n * @environment SHOPIFY_FLAG_ID\n */\n '--id '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The myshopify.com domain of the store.\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store ': string\n\n /**\n * Increase the verbosity of the output. May include sensitive data.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" } }, + "storecreatedev": { + "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts": { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "name": "storecreatedev", + "description": "The following flags are available for the `store create dev` command:", + "isPublicDocs": true, + "members": [ + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--country ", + "value": "string", + "description": "Two-letter country code for the store, such as US, CA, or GB. Follows the ISO 3166-1 alpha-2 standard.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_STORE_COUNTRY" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--demo-data", + "value": "''", + "description": "Populate the new dev store with demo data.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_STORE_DEMO_DATA" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--feature-preview ", + "value": "string", + "description": "The handle of a feature preview to enable on the new dev store.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_STORE_FEATURE_PREVIEW" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--name ", + "value": "string", + "description": "Name for the new dev store. Required if non interactive.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_STORE_NAME" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--no-color", + "value": "''", + "description": "Disable color output.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_NO_COLOR" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--organization-id ", + "value": "string", + "description": "The numeric organization ID. Auto-selects if you belong to a single organization. Required if non interactive.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_ORGANIZATION_ID" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--plan ", + "value": "string", + "description": "The Shopify plan to use for the new dev store. Required if non interactive.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_STORE_PLAN" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--verbose", + "value": "''", + "description": "Increase the verbosity of the output. May include sensitive data.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_VERBOSE" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-dev.interface.ts", + "syntaxKind": "PropertySignature", + "name": "-j, --json", + "value": "''", + "description": "Output the result as JSON. Automatically disables color output.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_JSON" + } + ], + "value": "export interface storecreatedev {\n /**\n * Two-letter country code for the store, such as US, CA, or GB. Follows the ISO 3166-1 alpha-2 standard.\n * @environment SHOPIFY_FLAG_STORE_COUNTRY\n */\n '--country '?: string\n\n /**\n * Populate the new dev store with demo data.\n * @environment SHOPIFY_FLAG_STORE_DEMO_DATA\n */\n '--demo-data'?: ''\n\n /**\n * The handle of a feature preview to enable on the new dev store.\n * @environment SHOPIFY_FLAG_STORE_FEATURE_PREVIEW\n */\n '--feature-preview '?: string\n\n /**\n * Output the result as JSON. Automatically disables color output.\n * @environment SHOPIFY_FLAG_JSON\n */\n '-j, --json'?: ''\n\n /**\n * Name for the new dev store. Required if non interactive.\n * @environment SHOPIFY_FLAG_STORE_NAME\n */\n '--name '?: string\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.\n * @environment SHOPIFY_FLAG_ORGANIZATION_ID\n */\n '--organization-id '?: string\n\n /**\n * The Shopify plan to use for the new dev store. Required if non interactive.\n * @environment SHOPIFY_FLAG_STORE_PLAN\n */\n '--plan '?: string\n\n /**\n * Increase the verbosity of the output. May include sensitive data.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + } + }, "storecreatepreview": { "docs-shopify.dev/commands/interfaces/store-create-preview.interface.ts": { "filePath": "docs-shopify.dev/commands/interfaces/store-create-preview.interface.ts", @@ -5103,6 +5195,70 @@ "value": "export interface storecreatepreview {\n /**\n * Two-letter country code for the store, such as US, CA, or GB. Follows the ISO 3166-1 alpha-2 standard.\n * @environment SHOPIFY_FLAG_STORE_COUNTRY\n */\n '--country '?: string\n\n /**\n * Output the result as JSON. Automatically disables color output.\n * @environment SHOPIFY_FLAG_JSON\n */\n '-j, --json'?: ''\n\n /**\n * The name of the store.\n * @environment SHOPIFY_FLAG_PREVIEW_STORE_NAME\n */\n '--name '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Increase the verbosity of the output. May include sensitive data.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" } }, + "storedelete": { + "docs-shopify.dev/commands/interfaces/store-delete.interface.ts": { + "filePath": "docs-shopify.dev/commands/interfaces/store-delete.interface.ts", + "name": "storedelete", + "description": "The following flags are available for the `store delete` command:", + "isPublicDocs": true, + "members": [ + { + "filePath": "docs-shopify.dev/commands/interfaces/store-delete.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--no-color", + "value": "''", + "description": "Disable color output.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_NO_COLOR" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-delete.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--organization-id ", + "value": "string", + "description": "The numeric organization ID. Auto-selects if you belong to a single organization.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_ORGANIZATION_ID" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-delete.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--verbose", + "value": "''", + "description": "Increase the verbosity of the output. May include sensitive data.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_VERBOSE" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-delete.interface.ts", + "syntaxKind": "PropertySignature", + "name": "-f, --force", + "value": "''", + "description": "Skip confirmation. Required if non interactive.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_FORCE" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-delete.interface.ts", + "syntaxKind": "PropertySignature", + "name": "-j, --json", + "value": "''", + "description": "Output the result as JSON. Automatically disables color output.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_JSON" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-delete.interface.ts", + "syntaxKind": "PropertySignature", + "name": "-s, --store ", + "value": "string", + "description": "The myshopify.com domain of the store.", + "environmentValue": "SHOPIFY_FLAG_STORE" + } + ], + "value": "export interface storedelete {\n /**\n * Skip confirmation. Required if non interactive.\n * @environment SHOPIFY_FLAG_FORCE\n */\n '-f, --force'?: ''\n\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.\n * @environment SHOPIFY_FLAG_ORGANIZATION_ID\n */\n '--organization-id '?: string\n\n /**\n * The myshopify.com domain of the store.\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store ': string\n\n /**\n * Increase the verbosity of the output. May include sensitive data.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + } + }, "storeexecute": { "docs-shopify.dev/commands/interfaces/store-execute.interface.ts": { "filePath": "docs-shopify.dev/commands/interfaces/store-execute.interface.ts", diff --git a/packages/cli/README.md b/packages/cli/README.md index 6a71eba3728..2516e73b906 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -84,7 +84,9 @@ * [`shopify store bulk cancel`](#shopify-store-bulk-cancel) * [`shopify store bulk execute`](#shopify-store-bulk-execute) * [`shopify store bulk status`](#shopify-store-bulk-status) +* [`shopify store create dev`](#shopify-store-create-dev) * [`shopify store create preview`](#shopify-store-create-preview) +* [`shopify store delete`](#shopify-store-delete) * [`shopify store execute`](#shopify-store-execute) * [`shopify store graphiql`](#shopify-store-graphiql) * [`shopify store info`](#shopify-store-info) @@ -3655,6 +3657,68 @@ EXAMPLES $ shopify store bulk status --store shop.myshopify.com --id 123456789 ``` +## `shopify store create dev` + +Create a new dev store. + +``` +USAGE + $ shopify store create dev [--country ] [--demo-data] [--feature-preview ] [-j] [--name ] + [--no-color] [--organization-id ] [--plan basic|grow|advanced|plus] [--verbose] + +FLAGS + -j, --json + Output the result as JSON. Automatically disables color output. + [env: SHOPIFY_FLAG_JSON] + + --country= + Two-letter country code for the store, such as US, CA, or GB. Follows the ISO 3166-1 alpha-2 standard. + [env: SHOPIFY_FLAG_STORE_COUNTRY] + + --[no-]demo-data + Populate the new dev store with demo data. + [env: SHOPIFY_FLAG_STORE_DEMO_DATA] + + --feature-preview= + The handle of a feature preview to enable on the new dev store. + [env: SHOPIFY_FLAG_STORE_FEATURE_PREVIEW] + + --name= + Name for the new dev store. Required if non interactive. + [env: SHOPIFY_FLAG_STORE_NAME] + + --no-color + Disable color output. + [env: SHOPIFY_FLAG_NO_COLOR] + + --organization-id= + The numeric organization ID. Auto-selects if you belong to a single organization. Required if non interactive. + [env: SHOPIFY_FLAG_ORGANIZATION_ID] + + --plan=