diff --git a/.changeset/unhide-store-auth-list.md b/.changeset/unhide-store-auth-list.md new file mode 100644 index 00000000000..a0ec18b0fe2 --- /dev/null +++ b/.changeset/unhide-store-auth-list.md @@ -0,0 +1,6 @@ +--- +'@shopify/cli': minor +'@shopify/store': minor +--- + +Add `shopify store auth list` to list stores authenticated on this machine with `shopify store auth`. diff --git a/.changeset/unhide-store-create-preview.md b/.changeset/unhide-store-create-preview.md new file mode 100644 index 00000000000..2d70e4f6600 --- /dev/null +++ b/.changeset/unhide-store-create-preview.md @@ -0,0 +1,6 @@ +--- +'@shopify/cli': minor +'@shopify/store': minor +--- + +Add `shopify store create preview` to create a preview Shopify store with no existing account required. diff --git a/.changeset/unhide-store-list.md b/.changeset/unhide-store-list.md new file mode 100644 index 00000000000..7f6546b85fd --- /dev/null +++ b/.changeset/unhide-store-list.md @@ -0,0 +1,6 @@ +--- +'@shopify/cli': minor +'@shopify/store': minor +--- + +Add `shopify store list` to list stores in a Shopify organization. diff --git a/.changeset/unhide-store-open.md b/.changeset/unhide-store-open.md new file mode 100644 index 00000000000..e825b3a3b96 --- /dev/null +++ b/.changeset/unhide-store-open.md @@ -0,0 +1,6 @@ +--- +'@shopify/cli': minor +'@shopify/store': minor +--- + +Add `shopify store open` to open a store's storefront in your default web browser. diff --git a/docs-shopify.dev/commands/interfaces/store-auth-list.interface.ts b/docs-shopify.dev/commands/interfaces/store-auth-list.interface.ts new file mode 100644 index 00000000000..de54cbdae2e --- /dev/null +++ b/docs-shopify.dev/commands/interfaces/store-auth-list.interface.ts @@ -0,0 +1,24 @@ +// This is an autogenerated file. Don't edit this file manually. +/** + * The following flags are available for the `store auth list` command: + * @publicDocs + */ +export interface storeauthlist { + /** + * Output the result as JSON. Automatically disables color output. + * @environment SHOPIFY_FLAG_JSON + */ + '-j, --json'?: '' + + /** + * Disable color output. + * @environment SHOPIFY_FLAG_NO_COLOR + */ + '--no-color'?: '' + + /** + * Increase the verbosity of the output. + * @environment SHOPIFY_FLAG_VERBOSE + */ + '--verbose'?: '' +} diff --git a/docs-shopify.dev/commands/interfaces/store-create-preview.interface.ts b/docs-shopify.dev/commands/interfaces/store-create-preview.interface.ts new file mode 100644 index 00000000000..b14e97dfb9a --- /dev/null +++ b/docs-shopify.dev/commands/interfaces/store-create-preview.interface.ts @@ -0,0 +1,36 @@ +// This is an autogenerated file. Don't edit this file manually. +/** + * The following flags are available for the `store create preview` command: + * @publicDocs + */ +export interface storecreatepreview { + /** + * Two-letter country code for the store, such as US, CA, or GB. + * @environment SHOPIFY_FLAG_PREVIEW_STORE_COUNTRY + */ + '--country '?: string + + /** + * Output the result as JSON. Automatically disables color output. + * @environment SHOPIFY_FLAG_JSON + */ + '-j, --json'?: '' + + /** + * The name of the store. + * @environment SHOPIFY_FLAG_PREVIEW_STORE_NAME + */ + '--name '?: string + + /** + * Disable color output. + * @environment SHOPIFY_FLAG_NO_COLOR + */ + '--no-color'?: '' + + /** + * Increase the verbosity of the output. + * @environment SHOPIFY_FLAG_VERBOSE + */ + '--verbose'?: '' +} diff --git a/docs-shopify.dev/commands/interfaces/store-list.interface.ts b/docs-shopify.dev/commands/interfaces/store-list.interface.ts new file mode 100644 index 00000000000..674f068aaec --- /dev/null +++ b/docs-shopify.dev/commands/interfaces/store-list.interface.ts @@ -0,0 +1,30 @@ +// This is an autogenerated file. Don't edit this file manually. +/** + * The following flags are available for the `store list` command: + * @publicDocs + */ +export interface storelist { + /** + * Output the result as JSON. Automatically disables color output. + * @environment SHOPIFY_FLAG_JSON + */ + '-j, --json'?: '' + + /** + * Disable color output. + * @environment SHOPIFY_FLAG_NO_COLOR + */ + '--no-color'?: '' + + /** + * The numeric organization ID. Auto-selects if you belong to a single organization. + * @environment SHOPIFY_FLAG_ORGANIZATION_ID + */ + '--organization-id '?: string + + /** + * Increase the verbosity of the output. + * @environment SHOPIFY_FLAG_VERBOSE + */ + '--verbose'?: '' +} diff --git a/docs-shopify.dev/commands/interfaces/store-open.interface.ts b/docs-shopify.dev/commands/interfaces/store-open.interface.ts new file mode 100644 index 00000000000..a6eb0aeb6c8 --- /dev/null +++ b/docs-shopify.dev/commands/interfaces/store-open.interface.ts @@ -0,0 +1,24 @@ +// This is an autogenerated file. Don't edit this file manually. +/** + * The following flags are available for the `store open` command: + * @publicDocs + */ +export interface storeopen { + /** + * Disable color output. + * @environment SHOPIFY_FLAG_NO_COLOR + */ + '--no-color'?: '' + + /** + * The myshopify.com domain of the store. + * @environment SHOPIFY_FLAG_STORE + */ + '-s, --store ': string + + /** + * Increase the verbosity of the output. + * @environment SHOPIFY_FLAG_VERBOSE + */ + '--verbose'?: '' +} diff --git a/docs-shopify.dev/generated/generated_docs_data_v2.json b/docs-shopify.dev/generated/generated_docs_data_v2.json index 493572e967a..d2e6f8ddade 100644 --- a/docs-shopify.dev/generated/generated_docs_data_v2.json +++ b/docs-shopify.dev/generated/generated_docs_data_v2.json @@ -4369,6 +4369,44 @@ "value": "export interface search {\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" } }, + "storeauthlist": { + "docs-shopify.dev/commands/interfaces/store-auth-list.interface.ts": { + "filePath": "docs-shopify.dev/commands/interfaces/store-auth-list.interface.ts", + "name": "storeauthlist", + "description": "The following flags are available for the `store auth list` command:", + "isPublicDocs": true, + "members": [ + { + "filePath": "docs-shopify.dev/commands/interfaces/store-auth-list.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-auth-list.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--verbose", + "value": "''", + "description": "Increase the verbosity of the output.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_VERBOSE" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-auth-list.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 storeauthlist {\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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + } + }, "storeauth": { "docs-shopify.dev/commands/interfaces/store-auth.interface.ts": { "filePath": "docs-shopify.dev/commands/interfaces/store-auth.interface.ts", @@ -4623,6 +4661,62 @@ "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.\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", + "name": "storecreatepreview", + "description": "The following flags are available for the `store create preview` command:", + "isPublicDocs": true, + "members": [ + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-preview.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--country ", + "value": "string", + "description": "Two-letter country code for the store, such as US, CA, or GB.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_PREVIEW_STORE_COUNTRY" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-preview.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--name ", + "value": "string", + "description": "The name of the store.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_PREVIEW_STORE_NAME" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-preview.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-preview.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--verbose", + "value": "''", + "description": "Increase the verbosity of the output.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_VERBOSE" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-create-preview.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 storecreatepreview {\n /**\n * Two-letter country code for the store, such as US, CA, or GB.\n * @environment SHOPIFY_FLAG_PREVIEW_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.\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", @@ -4851,6 +4945,90 @@ "value": "export interface storeinfo {\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 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.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" } }, + "storelist": { + "docs-shopify.dev/commands/interfaces/store-list.interface.ts": { + "filePath": "docs-shopify.dev/commands/interfaces/store-list.interface.ts", + "name": "storelist", + "description": "The following flags are available for the `store list` command:", + "isPublicDocs": true, + "members": [ + { + "filePath": "docs-shopify.dev/commands/interfaces/store-list.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-list.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-list.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--verbose", + "value": "''", + "description": "Increase the verbosity of the output.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_VERBOSE" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-list.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 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.\n * @environment SHOPIFY_FLAG_ORGANIZATION_ID\n */\n '--organization-id '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + } + }, + "storeopen": { + "docs-shopify.dev/commands/interfaces/store-open.interface.ts": { + "filePath": "docs-shopify.dev/commands/interfaces/store-open.interface.ts", + "name": "storeopen", + "description": "The following flags are available for the `store open` command:", + "isPublicDocs": true, + "members": [ + { + "filePath": "docs-shopify.dev/commands/interfaces/store-open.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-open.interface.ts", + "syntaxKind": "PropertySignature", + "name": "--verbose", + "value": "''", + "description": "Increase the verbosity of the output.", + "isOptional": true, + "environmentValue": "SHOPIFY_FLAG_VERBOSE" + }, + { + "filePath": "docs-shopify.dev/commands/interfaces/store-open.interface.ts", + "syntaxKind": "PropertySignature", + "name": "-s, --store ", + "value": "string", + "description": "The myshopify.com domain of the store.", + "environmentValue": "SHOPIFY_FLAG_STORE" + } + ], + "value": "export interface storeopen {\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.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + } + }, "themecheck": { "docs-shopify.dev/commands/interfaces/theme-check.interface.ts": { "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", diff --git a/packages/cli/README.md b/packages/cli/README.md index 4761088c8cc..29770ca4b0b 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -80,12 +80,16 @@ * [`shopify plugins update`](#shopify-plugins-update) * [`shopify search [query]`](#shopify-search-query) * [`shopify store auth`](#shopify-store-auth) +* [`shopify store auth list`](#shopify-store-auth-list) * [`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 preview`](#shopify-store-create-preview) * [`shopify store execute`](#shopify-store-execute) * [`shopify store graphiql`](#shopify-store-graphiql) * [`shopify store info`](#shopify-store-info) +* [`shopify store list`](#shopify-store-list) +* [`shopify store open`](#shopify-store-open) * [`shopify theme check`](#shopify-theme-check) * [`shopify theme console`](#shopify-theme-console) * [`shopify theme delete`](#shopify-theme-delete) @@ -2246,6 +2250,33 @@ EXAMPLES $ shopify store auth --store shop.myshopify.com --scopes read_products,write_products --json ``` +## `shopify store auth list` + +List stores authenticated directly with store auth. + +``` +USAGE + $ shopify store auth list [-j] [--no-color] [--verbose] + +FLAGS + -j, --json [env: SHOPIFY_FLAG_JSON] Output the result as JSON. Automatically disables color output. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. + +DESCRIPTION + List stores authenticated directly with store auth. + + Lists stores authenticated directly on this machine with `shopify store auth`. + + Use this command to find stores that can be used with store-authenticated commands such as `shopify store execute`. + To list stores in a Shopify organization, run `shopify store list`. + +EXAMPLES + $ shopify store auth list + + $ shopify store auth list --json +``` + ## `shopify store bulk cancel` Cancel a bulk operation on a store. @@ -2357,6 +2388,35 @@ EXAMPLES $ shopify store bulk status --store shop.myshopify.com --id 123456789 ``` +## `shopify store create preview` + +Create a preview Shopify store. + +``` +USAGE + $ shopify store create preview [--country ] [-j] [--name ] [--no-color] [--verbose] + +FLAGS + -j, --json [env: SHOPIFY_FLAG_JSON] Output the result as JSON. Automatically disables color output. + --country= [env: SHOPIFY_FLAG_PREVIEW_STORE_COUNTRY] Two-letter country code for the store, such as US, + CA, or GB. + --name= [env: SHOPIFY_FLAG_PREVIEW_STORE_NAME] The name of the store. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. + +DESCRIPTION + Create a preview Shopify store. + + Creates a new Shopify store, with no need for an existing account. + +EXAMPLES + $ shopify store create preview --name "Lavender Candles" + + $ shopify store create preview --name "Lavender Candles" --country US + + $ shopify store create preview --name "Lavender Candles" --json +``` + ## `shopify store execute` Execute GraphQL queries and mutations on a store. @@ -2471,6 +2531,63 @@ EXAMPLES $ shopify store info --store shop.myshopify.com --json ``` +## `shopify store list` + +List stores in a Shopify organization. + +``` +USAGE + $ shopify store list [-j] [--no-color] [--organization-id ] [--verbose] + +FLAGS + -j, --json [env: SHOPIFY_FLAG_JSON] Output the result as JSON. Automatically disables color + output. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --organization-id= [env: SHOPIFY_FLAG_ORGANIZATION_ID] The numeric organization ID. Auto-selects if you + belong to a single organization. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. + +DESCRIPTION + List stores in a Shopify organization. + + Lists stores in a Shopify organization available to the current CLI account. + + When more than one organization is available, the command prompts you to pick one unless you provide + `--organization-id`. + In non-interactive environments, `--organization-id` is required. + + Run `shopify organization list` to find organization IDs. + +EXAMPLES + $ shopify store list + + $ shopify store list --organization-id 1234567 + + $ shopify store list --json +``` + +## `shopify store open` + +Open your Shopify store in the default web browser. + +``` +USAGE + $ shopify store open -s [--no-color] [--verbose] + +FLAGS + -s, --store= (required) [env: SHOPIFY_FLAG_STORE] The myshopify.com domain of the store. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. + +DESCRIPTION + Open your Shopify store in the default web browser. + + Opens the storefront for a store you have access to in your default web browser. + +EXAMPLES + $ shopify store open --store shop.myshopify.com +``` + ## `shopify theme check` Validate the theme. diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json index c466479b61b..f6a61d3caa9 100644 --- a/packages/cli/oclif.manifest.json +++ b/packages/cli/oclif.manifest.json @@ -6055,7 +6055,6 @@ } }, "hasDynamicHelp": false, - "hidden": true, "hiddenAliases": [ ], "id": "store:auth:list", @@ -6457,7 +6456,6 @@ } }, "hasDynamicHelp": false, - "hidden": true, "hiddenAliases": [ ], "id": "store:create:preview", @@ -6783,7 +6781,6 @@ } }, "hasDynamicHelp": false, - "hidden": true, "hiddenAliases": [ ], "id": "store:list", @@ -6833,7 +6830,6 @@ } }, "hasDynamicHelp": false, - "hidden": true, "hiddenAliases": [ ], "id": "store:open", diff --git a/packages/store/src/cli/commands/store/auth/list.test.ts b/packages/store/src/cli/commands/store/auth/list.test.ts index 9a6885238e9..178122b14a2 100644 --- a/packages/store/src/cli/commands/store/auth/list.test.ts +++ b/packages/store/src/cli/commands/store/auth/list.test.ts @@ -25,7 +25,6 @@ describe('store auth list command', () => { }) test('does not expose organization or source-selection flags', () => { - expect(StoreAuthList.hidden).toBe(true) expect(StoreAuthList.flags.json).toBeDefined() expect(StoreAuthList.flags).not.toHaveProperty('organization-id') expect(StoreAuthList.flags).not.toHaveProperty('from') diff --git a/packages/store/src/cli/commands/store/auth/list.ts b/packages/store/src/cli/commands/store/auth/list.ts index 271fe414046..2243d2d92d6 100644 --- a/packages/store/src/cli/commands/store/auth/list.ts +++ b/packages/store/src/cli/commands/store/auth/list.ts @@ -4,8 +4,6 @@ import Command from '@shopify/cli-kit/node/base-command' import {globalFlags, jsonFlag} from '@shopify/cli-kit/node/cli' export default class StoreAuthList extends Command { - static hidden = true - static summary = 'List stores authenticated directly with store auth.' static descriptionWithMarkdown = `Lists stores authenticated directly on this machine with \`shopify store auth\`. diff --git a/packages/store/src/cli/commands/store/create/preview.test.ts b/packages/store/src/cli/commands/store/create/preview.test.ts index aba7a289aff..9781d98bc63 100644 --- a/packages/store/src/cli/commands/store/create/preview.test.ts +++ b/packages/store/src/cli/commands/store/create/preview.test.ts @@ -12,10 +12,6 @@ vi.mock('@shopify/cli-kit/node/ui', async () => { }) describe('store create preview command', () => { - test('is hidden until preview store creation is generally available', () => { - expect(StoreCreatePreview.hidden).toBe(true) - }) - test('passes parsed flags through to the service', async () => { const result = { status: 'success' as const, diff --git a/packages/store/src/cli/commands/store/create/preview.ts b/packages/store/src/cli/commands/store/create/preview.ts index f49c1ae4e2f..db7d9a9340f 100644 --- a/packages/store/src/cli/commands/store/create/preview.ts +++ b/packages/store/src/cli/commands/store/create/preview.ts @@ -8,8 +8,6 @@ import {renderSingleTask} from '@shopify/cli-kit/node/ui' import {Flags} from '@oclif/core' export default class StoreCreatePreview extends StoreCommand { - static hidden = true - static summary = 'Create a preview Shopify store.' static descriptionWithMarkdown = `Creates a new Shopify store, with no need for an existing account.` diff --git a/packages/store/src/cli/commands/store/list.ts b/packages/store/src/cli/commands/store/list.ts index 9920606cf34..119dbcc8071 100644 --- a/packages/store/src/cli/commands/store/list.ts +++ b/packages/store/src/cli/commands/store/list.ts @@ -5,8 +5,6 @@ import StoreCommand from '../../utilities/store-command.js' import {globalFlags, jsonFlag} from '@shopify/cli-kit/node/cli' export default class StoreList extends StoreCommand { - static hidden = true - static summary = 'List stores in a Shopify organization.' static descriptionWithMarkdown = `Lists stores in a Shopify organization available to the current CLI account. diff --git a/packages/store/src/cli/commands/store/open.ts b/packages/store/src/cli/commands/store/open.ts index f4c25417bcc..57cdff7345a 100644 --- a/packages/store/src/cli/commands/store/open.ts +++ b/packages/store/src/cli/commands/store/open.ts @@ -4,8 +4,6 @@ import {storeFlags} from '../../flags.js' import {globalFlags} from '@shopify/cli-kit/node/cli' export default class StoreOpen extends StoreCommand { - static hidden = true - static summary = 'Open your Shopify store in the default web browser.' static descriptionWithMarkdown = `Opens the storefront for a store you have access to in your default web browser.`