diff --git a/bin/docs/build-dev-docs.sh b/bin/docs/build-dev-docs.sh index 98eedfed6fb..976ef832701 100644 --- a/bin/docs/build-dev-docs.sh +++ b/bin/docs/build-dev-docs.sh @@ -1,28 +1,15 @@ -echo "STARTING" -COMPILE_DOCS="pnpx tsc --project bin/docs/tsconfig.docs.json --moduleResolution node --target esNext && pnpx generate-docs --overridePath ./bin/docs/typeOverride.json --input ./docs-shopify.dev/commands --output ./docs-shopify.dev/generated && rm -rf docs-shopify.dev/commands/**/*.doc.js docs-shopify.dev/commands/*.doc.js" -COMPILE_STATIC_PAGES="pnpx tsc docs-shopify.dev/static/*.doc.ts --moduleResolution node --target esNext && pnpx generate-docs --isLandingPage --input ./docs-shopify.dev/static --output ./docs-shopify.dev/generated && rm -rf docs-shopify.dev/static/*.doc.js" -COMPILE_CATEGORY_PAGES="pnpx tsc docs-shopify.dev/categories/*.doc.ts --moduleResolution node --target esNext && pnpx generate-docs --isCategoryPage --input ./docs-shopify.dev/categories --output ./docs-shopify.dev/generated && rm -rf docs-shopify.dev/categories/*.doc.js" +#!/bin/bash +set -e -if [ "$1" = "isTest" ]; -then -COMPILE_DOCS="pnpx tsc --project bin/docs/tsconfig.docs.json --moduleResolution node --target esNext && pnpx generate-docs --overridePath ./bin/docs/typeOverride.json --input ./docs-shopify.dev/commands --output ./docs-shopify.dev/static/temp && rm -rf docs-shopify.dev/commands/**/*.doc.js docs-shopify.dev/commands/*.doc.js" -COMPILE_STATIC_PAGES="pnpx tsc docs-shopify.dev/static/*.doc.ts --moduleResolution node --target esNext && pnpx generate-docs --isLandingPage --input ./docs-shopify.dev/static/docs-shopify.dev --output ./docs-shopify.dev/static/temp && rm -rf docs-shopify.dev/static/*.doc.js" -fi - -echo $1 -echo "RUNNING" -eval $COMPILE_DOCS -eval $COMPILE_STATIC_PAGES -eval $COMPILE_CATEGORY_PAGES -echo "DONE" +pnpm exec generate-docs \ + --input ./docs-shopify.dev/commands/interfaces \ + --output ./docs-shopify.dev/generated -# Copy generated docs to shopify-dev in the world repo if available +# Copy generated v2 docs to shopify-dev in the world repo if available WORLD_DEST="$HOME/world/trees/root/src/areas/platforms/shopify-dev/db/data/docs/templated_apis/shopify_cli" if [ -d "$WORLD_DEST" ]; then - for file in generated_docs_data.json generated_docs_data_v2.json generated_static_pages.json generated_category_pages.json; do - if [ -f "./docs-shopify.dev/generated/$file" ]; then - cp "./docs-shopify.dev/generated/$file" "$WORLD_DEST/$file" - echo "Copied $file to $WORLD_DEST" - fi - done + if [ -f "./docs-shopify.dev/generated/generated_docs_data_v2.json" ]; then + cp "./docs-shopify.dev/generated/generated_docs_data_v2.json" "$WORLD_DEST/generated_docs_data_v2.json" + echo "Copied generated_docs_data_v2.json to $WORLD_DEST" + fi fi diff --git a/bin/docs/tsconfig.docs.json b/bin/docs/tsconfig.docs.json deleted file mode 100644 index d310bc2c21a..00000000000 --- a/bin/docs/tsconfig.docs.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "/", - }, - "include": [ - "../../docs-shopify.dev/commands/**/*.doc.ts" - ], - "exclude": [] -} diff --git a/bin/docs/typeOverride.json b/bin/docs/typeOverride.json deleted file mode 100644 index 9e26dfeeb6e..00000000000 --- a/bin/docs/typeOverride.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/docs-shopify.dev/categories/app.doc.ts b/docs-shopify.dev/categories/app.doc.ts deleted file mode 100644 index c34b37ac529..00000000000 --- a/docs-shopify.dev/categories/app.doc.ts +++ /dev/null @@ -1,10 +0,0 @@ -import {CategoryTemplateSchema} from '@shopify/generate-docs' - -const data: CategoryTemplateSchema = { - // Name of the category - category: 'app', - title: 'Shopify CLI App commands', - sections: [], -} - -export default data diff --git a/docs-shopify.dev/categories/general.doc.ts b/docs-shopify.dev/categories/general.doc.ts deleted file mode 100644 index c61dd62b473..00000000000 --- a/docs-shopify.dev/categories/general.doc.ts +++ /dev/null @@ -1,10 +0,0 @@ -import {CategoryTemplateSchema} from '@shopify/generate-docs' - -const data: CategoryTemplateSchema = { - // Name of the category - category: 'general-commands', - title: 'Shopify CLI General commands', - sections: [], -} - -export default data diff --git a/docs-shopify.dev/categories/hydrogen.doc.ts b/docs-shopify.dev/categories/hydrogen.doc.ts deleted file mode 100644 index a815050f833..00000000000 --- a/docs-shopify.dev/categories/hydrogen.doc.ts +++ /dev/null @@ -1,10 +0,0 @@ -import {CategoryTemplateSchema} from '@shopify/generate-docs' - -const data: CategoryTemplateSchema = { - // Name of the category - category: 'hydrogen', - title: 'Shopify CLI Hydrogen commands', - sections: [], -} - -export default data diff --git a/docs-shopify.dev/categories/store.doc.ts b/docs-shopify.dev/categories/store.doc.ts deleted file mode 100644 index c6b5cbae540..00000000000 --- a/docs-shopify.dev/categories/store.doc.ts +++ /dev/null @@ -1,10 +0,0 @@ -import {CategoryTemplateSchema} from '@shopify/generate-docs' - -const data: CategoryTemplateSchema = { - // Name of the category - category: 'store', - title: 'Shopify CLI Store commands', - sections: [], -} - -export default data diff --git a/docs-shopify.dev/categories/theme.doc.ts b/docs-shopify.dev/categories/theme.doc.ts deleted file mode 100644 index d611ef17705..00000000000 --- a/docs-shopify.dev/categories/theme.doc.ts +++ /dev/null @@ -1,10 +0,0 @@ -import {CategoryTemplateSchema} from '@shopify/generate-docs' - -const data: CategoryTemplateSchema = { - // Name of the category - category: 'theme', - title: 'Shopify CLI Theme commands', - sections: [], -} - -export default data diff --git a/docs-shopify.dev/commands/app-build.doc.ts b/docs-shopify.dev/commands/app-build.doc.ts deleted file mode 100644 index ffbf4de20d5..00000000000 --- a/docs-shopify.dev/commands/app-build.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app build', - description: `This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](/docs/apps/tools/cli/configuration). - - If you're building a [theme app extension](/docs/apps/online-store/theme-app-extensions), then running the \`build\` command runs [Theme Check](/docs/themes/tools/theme-check) against your extension to ensure that it's valid.`, - overviewPreviewDescription: `Build the app, including extensions.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app build', - code: './examples/app-build.example.sh', - language: 'bash', - }, - ], - title: 'app build', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app build` command:', - type: 'appbuild', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-bulk-cancel.doc.ts b/docs-shopify.dev/commands/app-bulk-cancel.doc.ts deleted file mode 100644 index 184427c825e..00000000000 --- a/docs-shopify.dev/commands/app-bulk-cancel.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app bulk cancel', - description: `Cancels a running bulk operation by ID.`, - overviewPreviewDescription: `Cancel a bulk operation.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app bulk cancel', - code: './examples/app-bulk-cancel.example.sh', - language: 'bash', - }, - ], - title: 'app bulk cancel', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app bulk cancel` command:', - type: 'appbulkcancel', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-bulk-execute.doc.ts b/docs-shopify.dev/commands/app-bulk-execute.doc.ts deleted file mode 100644 index 0e87c9afa31..00000000000 --- a/docs-shopify.dev/commands/app-bulk-execute.doc.ts +++ /dev/null @@ -1,38 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app bulk execute', - description: `Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores. - - Bulk operations allow you to process large amounts of data asynchronously. Learn more about [bulk query operations](/docs/api/usage/bulk-operations/queries) and [bulk mutation operations](/docs/api/usage/bulk-operations/imports). - - Use [\`bulk status\`](/docs/api/shopify-cli/app/app-bulk-status) to check the status of your bulk operations.`, - overviewPreviewDescription: `Execute bulk operations.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app bulk execute', - code: './examples/app-bulk-execute.example.sh', - language: 'bash', - }, - ], - title: 'app bulk execute', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app bulk execute` command:', - type: 'appbulkexecute', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-bulk-status.doc.ts b/docs-shopify.dev/commands/app-bulk-status.doc.ts deleted file mode 100644 index 410da037721..00000000000 --- a/docs-shopify.dev/commands/app-bulk-status.doc.ts +++ /dev/null @@ -1,38 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app bulk status', - description: `Check the status of a specific bulk operation by ID, or list all bulk operations belonging to this app on this store in the last 7 days. - - Bulk operations allow you to process large amounts of data asynchronously. Learn more about [bulk query operations](/docs/api/usage/bulk-operations/queries) and [bulk mutation operations](/docs/api/usage/bulk-operations/imports). - - Use [\`bulk execute\`](/docs/api/shopify-cli/app/app-bulk-execute) to start a new bulk operation.`, - overviewPreviewDescription: `Check the status of bulk operations.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app bulk status', - code: './examples/app-bulk-status.example.sh', - language: 'bash', - }, - ], - title: 'app bulk status', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app bulk status` command:', - type: 'appbulkstatus', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-config-link.doc.ts b/docs-shopify.dev/commands/app-config-link.doc.ts deleted file mode 100644 index d5aedec9dea..00000000000 --- a/docs-shopify.dev/commands/app-config-link.doc.ts +++ /dev/null @@ -1,37 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app config link', - description: `Pulls app configuration from the Developer Dashboard and creates or overwrites a configuration file. You can create a new app with this command to start with a default configuration file. - - For more information on the format of the created TOML configuration file, refer to the [App configuration](/docs/apps/tools/cli/configuration) page. - `, - overviewPreviewDescription: `Fetch your app configuration from the Developer Dashboard.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app config link', - code: './examples/app-config-link.example.sh', - language: 'bash', - }, - ], - title: 'app config link', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app config link` command:', - type: 'appconfiglink', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-config-pull.doc.ts b/docs-shopify.dev/commands/app-config-pull.doc.ts deleted file mode 100644 index 9780b60bdb5..00000000000 --- a/docs-shopify.dev/commands/app-config-pull.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app config pull', - description: `Pulls the latest configuration from the already-linked Shopify app and updates the selected configuration file. - -This command reuses the existing linked app and organization and skips all interactive prompts. Use \`--config\` to target a specific configuration file, or omit it to use the default one.`, - overviewPreviewDescription: `Refresh an already-linked app configuration without prompts.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app config pull', - code: './examples/app-config-pull.example.sh', - language: 'bash', - }, - ], - title: 'app config pull', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app config pull` command:', - type: 'appconfigpull', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-config-use.doc.ts b/docs-shopify.dev/commands/app-config-use.doc.ts deleted file mode 100644 index 2f73c63186f..00000000000 --- a/docs-shopify.dev/commands/app-config-use.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app config use', - description: `Sets default configuration when you run app-related CLI commands. If you omit the \`config-name\` parameter, then you'll be prompted to choose from the configuration files in your project.`, - overviewPreviewDescription: `Activate an app configuration.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app config use', - code: './examples/app-config-use.example.sh', - language: 'bash', - }, - ], - title: 'app config use', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app config use` command:', - type: 'appconfiguse', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-config-validate.doc.ts b/docs-shopify.dev/commands/app-config-validate.doc.ts deleted file mode 100644 index cedde571a3e..00000000000 --- a/docs-shopify.dev/commands/app-config-validate.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app config validate', - description: `Validates the selected app configuration file and all extension configurations against their schemas and reports any errors found.`, - overviewPreviewDescription: `Validate your app configuration and extensions.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app config validate', - code: './examples/app-config-validate.example.sh', - language: 'bash', - }, - ], - title: 'app config validate', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app config validate` command:', - type: 'appconfigvalidate', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-deploy.doc.ts b/docs-shopify.dev/commands/app-deploy.doc.ts deleted file mode 100644 index 2542c30fc6d..00000000000 --- a/docs-shopify.dev/commands/app-deploy.doc.ts +++ /dev/null @@ -1,39 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app deploy', - description: `[Builds the app](/docs/api/shopify-cli/app/app-build), then deploys your app configuration and extensions. - - This command creates an app version, which is a snapshot of your app configuration and all extensions. This version is then released to users. - - This command doesn't deploy your [web app](/docs/apps/tools/cli/structure#web-components). You need to [deploy your web app](/docs/apps/deployment/web) to your own hosting solution. - `, - overviewPreviewDescription: `Deploy your Shopify app.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app deploy', - code: './examples/app-deploy.example.sh', - language: 'bash', - }, - ], - title: 'app deploy', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app deploy` command:', - type: 'appdeploy', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-dev-clean.doc.ts b/docs-shopify.dev/commands/app-dev-clean.doc.ts deleted file mode 100644 index 371ff666e26..00000000000 --- a/docs-shopify.dev/commands/app-dev-clean.doc.ts +++ /dev/null @@ -1,37 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app dev clean', - description: `Stop the dev preview that was started with \`shopify app dev\`. - - It restores the app's active version to the selected development store. - `, - overviewPreviewDescription: `Cleans up the dev preview from the selected store.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app dev clean', - code: './examples/app-dev-clean.example.sh', - language: 'bash', - }, - ], - title: 'app dev clean', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app dev clean` command:', - type: 'appdevclean', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-dev.doc.ts b/docs-shopify.dev/commands/app-dev.doc.ts deleted file mode 100644 index 254424cbaf4..00000000000 --- a/docs-shopify.dev/commands/app-dev.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app dev', - description: `Builds and previews your app on a dev store, and watches for changes. [Read more about testing apps locally](/docs/apps/build/cli-for-apps/test-apps-locally).`, - overviewPreviewDescription: `Run the app.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app dev', - code: './examples/app-dev.example.sh', - language: 'bash', - }, - ], - title: 'app dev', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app dev` command:', - type: 'appdev', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-env-pull.doc.ts b/docs-shopify.dev/commands/app-env-pull.doc.ts deleted file mode 100644 index 57acedf8771..00000000000 --- a/docs-shopify.dev/commands/app-env-pull.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app env pull', - description: `Creates or updates an \`.env\` files that contains app and app extension environment variables. - - When an existing \`.env\` file is updated, changes to the variables are displayed in the terminal output. Existing variables and commented variables are preserved.`, - overviewPreviewDescription: `Pull app and extensions environment variables.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app env pull', - code: './examples/app-env-pull.example.sh', - language: 'bash', - }, - ], - title: 'app env pull', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app env pull` command:', - type: 'appenvpull', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-env-show.doc.ts b/docs-shopify.dev/commands/app-env-show.doc.ts deleted file mode 100644 index 2ea5804a5fb..00000000000 --- a/docs-shopify.dev/commands/app-env-show.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app env show', - description: `Displays environment variables that can be used to deploy apps and app extensions.`, - overviewPreviewDescription: `Display app and extensions environment variables.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app env show', - code: './examples/app-env-show.example.sh', - language: 'bash', - }, - ], - title: 'app env show', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app env show` command:', - type: 'appenvshow', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-execute.doc.ts b/docs-shopify.dev/commands/app-execute.doc.ts deleted file mode 100644 index 78b2334de54..00000000000 --- a/docs-shopify.dev/commands/app-execute.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app execute', - description: `Executes an Admin API GraphQL query or mutation on the specified store. Mutations are only allowed on dev stores. - - For operations that process large amounts of data, use [\`bulk execute\`](/docs/api/shopify-cli/app/app-bulk-execute) instead.`, - overviewPreviewDescription: `Execute GraphQL queries and mutations.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app execute', - code: './examples/app-execute.example.sh', - language: 'bash', - }, - ], - title: 'app execute', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app execute` command:', - type: 'appexecute', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-function-build.doc.ts b/docs-shopify.dev/commands/app-function-build.doc.ts deleted file mode 100644 index 7e32c8aad1a..00000000000 --- a/docs-shopify.dev/commands/app-function-build.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app function build', - description: `Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.`, - overviewPreviewDescription: `Compile a function to wasm.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app function build', - code: './examples/app-function-build.example.sh', - language: 'bash', - }, - ], - title: 'app function build', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app function build` command:', - type: 'appfunctionbuild', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-function-info.doc.ts b/docs-shopify.dev/commands/app-function-info.doc.ts deleted file mode 100644 index 2f82b630422..00000000000 --- a/docs-shopify.dev/commands/app-function-info.doc.ts +++ /dev/null @@ -1,42 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app function info', - description: `The information returned includes the following: - - - The function handle - - The function name - - The function API version - - The targeting configuration - - The schema path - - The WASM path - - The function runner path`, - overviewPreviewDescription: `Print basic information about your function.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app function info', - code: './examples/app-function-info.example.sh', - language: 'bash', - }, - ], - title: 'app function info', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app function info` command:', - type: 'appfunctioninfo', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-function-replay.doc.ts b/docs-shopify.dev/commands/app-function-replay.doc.ts deleted file mode 100644 index eee47ad890e..00000000000 --- a/docs-shopify.dev/commands/app-function-replay.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app function replay', - description: `Runs the function from your current directory for [testing purposes](/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](/docs/api/functions/errors).`, - overviewPreviewDescription: `Replays a function run from an app log.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app function replay', - code: './examples/app-function-replay.example.sh', - language: 'bash', - }, - ], - title: 'app function replay', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app function replay` command:', - type: 'appfunctionreplay', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-function-run.doc.ts b/docs-shopify.dev/commands/app-function-run.doc.ts deleted file mode 100644 index c44aba9c475..00000000000 --- a/docs-shopify.dev/commands/app-function-run.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app function run', - description: `Runs the function from your current directory for [testing purposes](/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](/docs/api/functions/errors).`, - overviewPreviewDescription: `Run a function locally for testing.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app function run', - code: './examples/app-function-run.example.sh', - language: 'bash', - }, - ], - title: 'app function run', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app function run` command:', - type: 'appfunctionrun', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-function-schema.doc.ts b/docs-shopify.dev/commands/app-function-schema.doc.ts deleted file mode 100644 index e48c9f92cdc..00000000000 --- a/docs-shopify.dev/commands/app-function-schema.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app function schema', - description: `Generates the latest [GraphQL schema](/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory. - - This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the \`schema.graphql\` file.`, - overviewPreviewDescription: `Fetch the latest GraphQL schema for a function.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app function schema', - code: './examples/app-function-schema.example.sh', - language: 'bash', - }, - ], - title: 'app function schema', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app function schema` command:', - type: 'appfunctionschema', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-function-typegen.doc.ts b/docs-shopify.dev/commands/app-function-typegen.doc.ts deleted file mode 100644 index f5f3770d122..00000000000 --- a/docs-shopify.dev/commands/app-function-typegen.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app function typegen', - description: `Creates GraphQL types based on your [input query](/docs/apps/functions/input-output#input) for a function. Supports JavaScript functions out of the box, or any language via the \`build.typegen_command\` configuration.`, - overviewPreviewDescription: `Generate GraphQL types for a function.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app function typegen', - code: './examples/app-function-typegen.example.sh', - language: 'bash', - }, - ], - title: 'app function typegen', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app function typegen` command:', - type: 'appfunctiontypegen', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-generate-extension.doc.ts b/docs-shopify.dev/commands/app-generate-extension.doc.ts deleted file mode 100644 index 1d1a1cb4a90..00000000000 --- a/docs-shopify.dev/commands/app-generate-extension.doc.ts +++ /dev/null @@ -1,37 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app generate extension', - description: `Generates a new [app extension](/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](/docs/apps/build/app-extensions/list-of-app-extensions). - - Each new app extension is created in a folder under \`extensions/\`. To learn more about the extensions file structure, refer to [App structure](/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension. - `, - overviewPreviewDescription: `Generate a new app Extension.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app generate extension', - code: './examples/app-generate-extension.example.sh', - language: 'bash', - }, - ], - title: 'app generate extension', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app generate extension` command:', - type: 'appgenerateextension', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-import-custom-data-definitions.doc.ts b/docs-shopify.dev/commands/app-import-custom-data-definitions.doc.ts deleted file mode 100644 index a1b101a5295..00000000000 --- a/docs-shopify.dev/commands/app-import-custom-data-definitions.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app import-custom-data-definitions', - description: `Import metafield and metaobject definitions from your development store. [Read more about declarative custom data definitions](/docs/apps/build/custom-data/declarative-custom-data-definitions).`, - overviewPreviewDescription: `Import metafield and metaobject definitions.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app import-custom-data-definitions', - code: './examples/app-import-custom-data-definitions.example.sh', - language: 'bash', - }, - ], - title: 'app import-custom-data-definitions', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app import-custom-data-definitions` command:', - type: 'appimportcustomdatadefinitions', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-import-extensions.doc.ts b/docs-shopify.dev/commands/app-import-extensions.doc.ts deleted file mode 100644 index a6e83e7934a..00000000000 --- a/docs-shopify.dev/commands/app-import-extensions.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app import-extensions', - description: `Import dashboard-managed extensions into your app.`, - overviewPreviewDescription: `Import dashboard-managed extensions into your app.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app import-extensions', - code: './examples/app-import-extensions.example.sh', - language: 'bash', - }, - ], - title: 'app import-extensions', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app import-extensions` command:', - type: 'appimportextensions', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-info.doc.ts b/docs-shopify.dev/commands/app-info.doc.ts deleted file mode 100644 index 22fe4fd1cde..00000000000 --- a/docs-shopify.dev/commands/app-info.doc.ts +++ /dev/null @@ -1,39 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app info', - description: `The information returned includes the following: - - - The app and dev store that's used when you run the [dev](/docs/api/shopify-cli/app/app-dev) command. You can reset these configurations using [\`dev --reset\`](/docs/api/shopify-cli/app/app-dev#flags-propertydetail-reset). - - The [structure](/docs/apps/tools/cli/structure) of your app project. - - The [access scopes](/docs/api/usage) your app has requested. - - System information, including the package manager and version of Shopify CLI used in the project.`, - overviewPreviewDescription: `Print basic information about your app and extensions.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app info', - code: './examples/app-info.example.sh', - language: 'bash', - }, - ], - title: 'app info', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app info` command:', - type: 'appinfo', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-init.doc.ts b/docs-shopify.dev/commands/app-init.doc.ts deleted file mode 100644 index 1d34efb7468..00000000000 --- a/docs-shopify.dev/commands/app-init.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app init', - description: `Create a new app project`, - overviewPreviewDescription: `Create a new app project`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app init', - code: './examples/app-init.example.sh', - language: 'bash', - }, - ], - title: 'app init', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app init` command:', - type: 'appinit', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-logs-sources.doc.ts b/docs-shopify.dev/commands/app-logs-sources.doc.ts deleted file mode 100644 index c06bb362395..00000000000 --- a/docs-shopify.dev/commands/app-logs-sources.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app logs sources', - description: `The output source names can be used with the \`--source\` argument of \`shopify app logs\` to filter log output. Currently only function extensions are supported as sources.`, - overviewPreviewDescription: `Print out a list of sources that may be used with the logs command.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app logs sources', - code: './examples/app-logs-sources.example.sh', - language: 'bash', - }, - ], - title: 'app logs sources', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app logs sources` command:', - type: 'applogssources', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-logs.doc.ts b/docs-shopify.dev/commands/app-logs.doc.ts deleted file mode 100644 index 6829609ed9e..00000000000 --- a/docs-shopify.dev/commands/app-logs.doc.ts +++ /dev/null @@ -1,41 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app logs', - description: ` - Opens a real-time stream of detailed app logs from the selected app and store. - Use the \`--source\` argument to limit output to a particular log source, such as a specific Shopify Function handle. Use the \`shopify app logs sources\` command to view a list of sources. - Use the \`--status\` argument to filter on status, either \`success\` or \`failure\`. - \`\`\` - shopify app logs --status=success --source=extension.discount-function - \`\`\` - `, - overviewPreviewDescription: `Stream detailed logs for your Shopify app.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app logs', - code: './examples/app-logs.example.sh', - language: 'bash', - }, - ], - title: 'app logs', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app logs` command:', - type: 'applogs', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-release.doc.ts b/docs-shopify.dev/commands/app-release.doc.ts deleted file mode 100644 index 8dbdf937e8e..00000000000 --- a/docs-shopify.dev/commands/app-release.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app release', - description: `Releases an existing app version. Pass the name of the version that you want to release using the \`--version\` flag.`, - overviewPreviewDescription: `Release an app version.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app release', - code: './examples/app-release.example.sh', - language: 'bash', - }, - ], - title: 'app release', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app release` command:', - type: 'apprelease', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-versions-list.doc.ts b/docs-shopify.dev/commands/app-versions-list.doc.ts deleted file mode 100644 index 8d598775b21..00000000000 --- a/docs-shopify.dev/commands/app-versions-list.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app versions list', - description: `Lists the deployed app versions. An app version is a snapshot of your app extensions.`, - overviewPreviewDescription: `List deployed versions of your app.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app versions list', - code: './examples/app-versions-list.example.sh', - language: 'bash', - }, - ], - title: 'app versions list', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app versions list` command:', - type: 'appversionslist', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/app-webhook-trigger.doc.ts b/docs-shopify.dev/commands/app-webhook-trigger.doc.ts deleted file mode 100644 index f7b9213abdd..00000000000 --- a/docs-shopify.dev/commands/app-webhook-trigger.doc.ts +++ /dev/null @@ -1,49 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'app webhook trigger', - description: ` - Triggers the delivery of a sample Admin API event topic payload to a designated address. - - You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify. - - Because most webhook deliveries use remote endpoints, you can trigger the command from any directory where you can use Shopify CLI, and send the webhook to any of the supported endpoint types. For example, you can run the command from your app's local directory, but send the webhook to a staging environment endpoint. - - To learn more about using webhooks in a Shopify app, refer to [Webhooks overview](/docs/apps/webhooks). - - ### Limitations - - - Webhooks triggered using this method always have the same payload, so they can't be used to test scenarios that differ based on the payload contents. - - Webhooks triggered using this method aren't retried when they fail. - - Trigger requests are rate-limited using the [Partner API rate limit](/docs/api/partner#rate_limits). - - You can't use this method to validate your API webhook subscriptions. - `, - overviewPreviewDescription: `Trigger delivery of a sample webhook topic payload to a designated address.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'app webhook trigger', - code: './examples/app-webhook-trigger.example.sh', - language: 'bash', - }, - ], - title: 'app webhook trigger', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `app webhook trigger` command:', - type: 'appwebhooktrigger', - }, - ], - category: 'app', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/auth-login.doc.ts b/docs-shopify.dev/commands/auth-login.doc.ts deleted file mode 100644 index 673b91e0aa5..00000000000 --- a/docs-shopify.dev/commands/auth-login.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'auth login', - description: `Logs you in to your Shopify account.`, - overviewPreviewDescription: `Logs you in to your Shopify account.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'auth login', - code: './examples/auth-login.example.sh', - language: 'bash', - }, - ], - title: 'auth login', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `auth login` command:', - type: 'authlogin', - }, - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/auth-logout.doc.ts b/docs-shopify.dev/commands/auth-logout.doc.ts deleted file mode 100644 index 41e1dac47b2..00000000000 --- a/docs-shopify.dev/commands/auth-logout.doc.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'auth logout', - description: `Logs you out of the Shopify account or Partner account and store.`, - overviewPreviewDescription: `Logs you out of the Shopify account or Partner account and store.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'auth logout', - code: './examples/auth-logout.example.sh', - language: 'bash', - }, - ], - title: 'auth logout', - }, - }, - definitions: [ - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/commands.doc.ts b/docs-shopify.dev/commands/commands.doc.ts deleted file mode 100644 index 98653f60bbc..00000000000 --- a/docs-shopify.dev/commands/commands.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'commands', - description: `List all shopify commands.`, - overviewPreviewDescription: `List all shopify commands.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'commands', - code: './examples/commands.example.sh', - language: 'bash', - }, - ], - title: 'commands', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `commands` command:', - type: 'commands', - }, - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/config-autocorrect-off.doc.ts b/docs-shopify.dev/commands/config-autocorrect-off.doc.ts deleted file mode 100644 index d3b908743a1..00000000000 --- a/docs-shopify.dev/commands/config-autocorrect-off.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'config autocorrect off', - description: `Disable autocorrect. Off by default. - - When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available. - - When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands. -`, - overviewPreviewDescription: `Disable autocorrect. Off by default.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'config autocorrect off', - code: './examples/config-autocorrect-off.example.sh', - language: 'bash', - }, - ], - title: 'config autocorrect off', - }, - }, - definitions: [ - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/config-autocorrect-on.doc.ts b/docs-shopify.dev/commands/config-autocorrect-on.doc.ts deleted file mode 100644 index cf91e96abee..00000000000 --- a/docs-shopify.dev/commands/config-autocorrect-on.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'config autocorrect on', - description: `Enable autocorrect. Off by default. - - When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available. - - When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands. -`, - overviewPreviewDescription: `Enable autocorrect. Off by default.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'config autocorrect on', - code: './examples/config-autocorrect-on.example.sh', - language: 'bash', - }, - ], - title: 'config autocorrect on', - }, - }, - definitions: [ - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/config-autocorrect-status.doc.ts b/docs-shopify.dev/commands/config-autocorrect-status.doc.ts deleted file mode 100644 index e9283298097..00000000000 --- a/docs-shopify.dev/commands/config-autocorrect-status.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'config autocorrect status', - description: `Check whether autocorrect is enabled or disabled. On by default. - - When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available. - - When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands. -`, - overviewPreviewDescription: `Check whether autocorrect is enabled or disabled. On by default.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'config autocorrect status', - code: './examples/config-autocorrect-status.example.sh', - language: 'bash', - }, - ], - title: 'config autocorrect status', - }, - }, - definitions: [ - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-build.example.sh b/docs-shopify.dev/commands/examples/app-build.example.sh deleted file mode 100644 index e0166e3bf14..00000000000 --- a/docs-shopify.dev/commands/examples/app-build.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app build [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-bulk-cancel.example.sh b/docs-shopify.dev/commands/examples/app-bulk-cancel.example.sh deleted file mode 100644 index 1feb4eaef61..00000000000 --- a/docs-shopify.dev/commands/examples/app-bulk-cancel.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app bulk cancel [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-bulk-execute.example.sh b/docs-shopify.dev/commands/examples/app-bulk-execute.example.sh deleted file mode 100644 index 96bdb985b20..00000000000 --- a/docs-shopify.dev/commands/examples/app-bulk-execute.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app bulk execute [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-bulk-status.example.sh b/docs-shopify.dev/commands/examples/app-bulk-status.example.sh deleted file mode 100644 index 94caa5e7782..00000000000 --- a/docs-shopify.dev/commands/examples/app-bulk-status.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app bulk status [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-config-link.example.sh b/docs-shopify.dev/commands/examples/app-config-link.example.sh deleted file mode 100644 index a0d5be1911a..00000000000 --- a/docs-shopify.dev/commands/examples/app-config-link.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app config link [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-config-pull.example.sh b/docs-shopify.dev/commands/examples/app-config-pull.example.sh deleted file mode 100644 index cc8fb40f26a..00000000000 --- a/docs-shopify.dev/commands/examples/app-config-pull.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app config pull [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-config-use.example.sh b/docs-shopify.dev/commands/examples/app-config-use.example.sh deleted file mode 100644 index 1dc0ec55023..00000000000 --- a/docs-shopify.dev/commands/examples/app-config-use.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app config use [config] [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-config-validate.example.sh b/docs-shopify.dev/commands/examples/app-config-validate.example.sh deleted file mode 100644 index 8d7e3ca54f0..00000000000 --- a/docs-shopify.dev/commands/examples/app-config-validate.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app config validate [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-deploy.example.sh b/docs-shopify.dev/commands/examples/app-deploy.example.sh deleted file mode 100644 index 366b6d266e2..00000000000 --- a/docs-shopify.dev/commands/examples/app-deploy.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app deploy [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-dev-clean.example.sh b/docs-shopify.dev/commands/examples/app-dev-clean.example.sh deleted file mode 100644 index d171dff94b7..00000000000 --- a/docs-shopify.dev/commands/examples/app-dev-clean.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app dev clean [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-dev.example.sh b/docs-shopify.dev/commands/examples/app-dev.example.sh deleted file mode 100644 index 9d602d0df45..00000000000 --- a/docs-shopify.dev/commands/examples/app-dev.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app dev [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-env-pull.example.sh b/docs-shopify.dev/commands/examples/app-env-pull.example.sh deleted file mode 100644 index 64321c8fa13..00000000000 --- a/docs-shopify.dev/commands/examples/app-env-pull.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app env pull [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-env-show.example.sh b/docs-shopify.dev/commands/examples/app-env-show.example.sh deleted file mode 100644 index 3e93e276260..00000000000 --- a/docs-shopify.dev/commands/examples/app-env-show.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app env show [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-execute.example.sh b/docs-shopify.dev/commands/examples/app-execute.example.sh deleted file mode 100644 index 5139767a4c7..00000000000 --- a/docs-shopify.dev/commands/examples/app-execute.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app execute [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-function-build.example.sh b/docs-shopify.dev/commands/examples/app-function-build.example.sh deleted file mode 100644 index 605270f2dbf..00000000000 --- a/docs-shopify.dev/commands/examples/app-function-build.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app function build [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-function-info.example.sh b/docs-shopify.dev/commands/examples/app-function-info.example.sh deleted file mode 100644 index 8c8e0342a67..00000000000 --- a/docs-shopify.dev/commands/examples/app-function-info.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app function info [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-function-replay.example.sh b/docs-shopify.dev/commands/examples/app-function-replay.example.sh deleted file mode 100644 index 1a9c9d28dc0..00000000000 --- a/docs-shopify.dev/commands/examples/app-function-replay.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app function replay [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-function-run.example.sh b/docs-shopify.dev/commands/examples/app-function-run.example.sh deleted file mode 100644 index 7c309bf6fd2..00000000000 --- a/docs-shopify.dev/commands/examples/app-function-run.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app function run [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-function-schema.example.sh b/docs-shopify.dev/commands/examples/app-function-schema.example.sh deleted file mode 100644 index 8492760e12f..00000000000 --- a/docs-shopify.dev/commands/examples/app-function-schema.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app function schema [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-function-typegen.example.sh b/docs-shopify.dev/commands/examples/app-function-typegen.example.sh deleted file mode 100644 index 4bdc7f2b254..00000000000 --- a/docs-shopify.dev/commands/examples/app-function-typegen.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app function typegen [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-generate-extension.example.sh b/docs-shopify.dev/commands/examples/app-generate-extension.example.sh deleted file mode 100644 index dab3896b175..00000000000 --- a/docs-shopify.dev/commands/examples/app-generate-extension.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app generate extension [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-import-custom-data-definitions.example.sh b/docs-shopify.dev/commands/examples/app-import-custom-data-definitions.example.sh deleted file mode 100644 index a7af8e11b25..00000000000 --- a/docs-shopify.dev/commands/examples/app-import-custom-data-definitions.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app import-custom-data-definitions [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-import-extensions.example.sh b/docs-shopify.dev/commands/examples/app-import-extensions.example.sh deleted file mode 100644 index 1ea18c82d96..00000000000 --- a/docs-shopify.dev/commands/examples/app-import-extensions.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app import-extensions [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-info.example.sh b/docs-shopify.dev/commands/examples/app-info.example.sh deleted file mode 100644 index 21fdcb56ad2..00000000000 --- a/docs-shopify.dev/commands/examples/app-info.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app info [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-init.example.sh b/docs-shopify.dev/commands/examples/app-init.example.sh deleted file mode 100644 index 7dd20dbcc61..00000000000 --- a/docs-shopify.dev/commands/examples/app-init.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app init [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-logs-sources.example.sh b/docs-shopify.dev/commands/examples/app-logs-sources.example.sh deleted file mode 100644 index 52ffad3025e..00000000000 --- a/docs-shopify.dev/commands/examples/app-logs-sources.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app logs sources [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-logs.example.sh b/docs-shopify.dev/commands/examples/app-logs.example.sh deleted file mode 100644 index 0d21d2e97aa..00000000000 --- a/docs-shopify.dev/commands/examples/app-logs.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app logs [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-release.example.sh b/docs-shopify.dev/commands/examples/app-release.example.sh deleted file mode 100644 index 75b4a047777..00000000000 --- a/docs-shopify.dev/commands/examples/app-release.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app release --version \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-versions-list.example.sh b/docs-shopify.dev/commands/examples/app-versions-list.example.sh deleted file mode 100644 index 3e3e3e7d61e..00000000000 --- a/docs-shopify.dev/commands/examples/app-versions-list.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app versions list [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/app-webhook-trigger.example.sh b/docs-shopify.dev/commands/examples/app-webhook-trigger.example.sh deleted file mode 100644 index 78adbbdfb57..00000000000 --- a/docs-shopify.dev/commands/examples/app-webhook-trigger.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify app webhook trigger [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/auth-login.example.sh b/docs-shopify.dev/commands/examples/auth-login.example.sh deleted file mode 100644 index a9fde43f6aa..00000000000 --- a/docs-shopify.dev/commands/examples/auth-login.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify auth login [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/auth-logout.example.sh b/docs-shopify.dev/commands/examples/auth-logout.example.sh deleted file mode 100644 index 841f8eac872..00000000000 --- a/docs-shopify.dev/commands/examples/auth-logout.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify auth logout \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/commands.example.sh b/docs-shopify.dev/commands/examples/commands.example.sh deleted file mode 100644 index d1b21ea7564..00000000000 --- a/docs-shopify.dev/commands/examples/commands.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify commands [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/config-autocorrect-off.example.sh b/docs-shopify.dev/commands/examples/config-autocorrect-off.example.sh deleted file mode 100644 index 60f1cb8a776..00000000000 --- a/docs-shopify.dev/commands/examples/config-autocorrect-off.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify config autocorrect off \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/config-autocorrect-on.example.sh b/docs-shopify.dev/commands/examples/config-autocorrect-on.example.sh deleted file mode 100644 index 5070892de24..00000000000 --- a/docs-shopify.dev/commands/examples/config-autocorrect-on.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify config autocorrect on \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/config-autocorrect-status.example.sh b/docs-shopify.dev/commands/examples/config-autocorrect-status.example.sh deleted file mode 100644 index da9b1fff5d6..00000000000 --- a/docs-shopify.dev/commands/examples/config-autocorrect-status.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify config autocorrect status \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/help.example.sh b/docs-shopify.dev/commands/examples/help.example.sh deleted file mode 100644 index 020433c6f76..00000000000 --- a/docs-shopify.dev/commands/examples/help.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify help [command] [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-build.example.sh b/docs-shopify.dev/commands/examples/hydrogen-build.example.sh deleted file mode 100644 index 9147949b35b..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-build.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen build [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-check.example.sh b/docs-shopify.dev/commands/examples/hydrogen-check.example.sh deleted file mode 100644 index 012bd029e6d..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-check.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen check [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-codegen.example.sh b/docs-shopify.dev/commands/examples/hydrogen-codegen.example.sh deleted file mode 100644 index 16794666818..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-codegen.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen codegen [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-customer-account-push.example.sh b/docs-shopify.dev/commands/examples/hydrogen-customer-account-push.example.sh deleted file mode 100644 index a5381d7709f..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-customer-account-push.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen customer-account-push [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-debug-cpu.example.sh b/docs-shopify.dev/commands/examples/hydrogen-debug-cpu.example.sh deleted file mode 100644 index 5a808196535..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-debug-cpu.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen debug cpu [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-deploy.example.sh b/docs-shopify.dev/commands/examples/hydrogen-deploy.example.sh deleted file mode 100644 index 57b478de5f0..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-deploy.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen deploy [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-dev.example.sh b/docs-shopify.dev/commands/examples/hydrogen-dev.example.sh deleted file mode 100644 index f83d483a22b..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-dev.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen dev [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-env-list.example.sh b/docs-shopify.dev/commands/examples/hydrogen-env-list.example.sh deleted file mode 100644 index e5cf2a8cfc9..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-env-list.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen env list [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-env-pull.example.sh b/docs-shopify.dev/commands/examples/hydrogen-env-pull.example.sh deleted file mode 100644 index 6d8ff7fdaea..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-env-pull.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen env pull [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-env-push.example.sh b/docs-shopify.dev/commands/examples/hydrogen-env-push.example.sh deleted file mode 100644 index a4c5280ecd0..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-env-push.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen env push [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-generate-route.example.sh b/docs-shopify.dev/commands/examples/hydrogen-generate-route.example.sh deleted file mode 100644 index 84cdf0fb033..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-generate-route.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen generate route [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-generate-routes.example.sh b/docs-shopify.dev/commands/examples/hydrogen-generate-routes.example.sh deleted file mode 100644 index b7fd3435820..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-generate-routes.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen generate routes [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-init.example.sh b/docs-shopify.dev/commands/examples/hydrogen-init.example.sh deleted file mode 100644 index 5ede4e290ca..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-init.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen init [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-link.example.sh b/docs-shopify.dev/commands/examples/hydrogen-link.example.sh deleted file mode 100644 index 8d3f6554d6e..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-link.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen link [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-list.example.sh b/docs-shopify.dev/commands/examples/hydrogen-list.example.sh deleted file mode 100644 index c8a821f8933..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-list.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen list [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-login.example.sh b/docs-shopify.dev/commands/examples/hydrogen-login.example.sh deleted file mode 100644 index da00db847fb..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-login.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen login [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-logout.example.sh b/docs-shopify.dev/commands/examples/hydrogen-logout.example.sh deleted file mode 100644 index 251d7f1a21e..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-logout.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen logout [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-preview.example.sh b/docs-shopify.dev/commands/examples/hydrogen-preview.example.sh deleted file mode 100644 index cbdb9ece34c..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-preview.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen preview [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-setup-css.example.sh b/docs-shopify.dev/commands/examples/hydrogen-setup-css.example.sh deleted file mode 100644 index 9fb63a6ebfb..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-setup-css.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen setup css [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-setup-markets.example.sh b/docs-shopify.dev/commands/examples/hydrogen-setup-markets.example.sh deleted file mode 100644 index 91e3569d606..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-setup-markets.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen setup markets [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-setup-vite.example.sh b/docs-shopify.dev/commands/examples/hydrogen-setup-vite.example.sh deleted file mode 100644 index 18a2ec845d2..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-setup-vite.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen setup vite [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-setup.example.sh b/docs-shopify.dev/commands/examples/hydrogen-setup.example.sh deleted file mode 100644 index 2a37a8ba23f..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-setup.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen setup [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-shortcut.example.sh b/docs-shopify.dev/commands/examples/hydrogen-shortcut.example.sh deleted file mode 100644 index 155c2a83154..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-shortcut.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen shortcut \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-unlink.example.sh b/docs-shopify.dev/commands/examples/hydrogen-unlink.example.sh deleted file mode 100644 index eaed1f94cce..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-unlink.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen unlink [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/hydrogen-upgrade.example.sh b/docs-shopify.dev/commands/examples/hydrogen-upgrade.example.sh deleted file mode 100644 index 23401c174e5..00000000000 --- a/docs-shopify.dev/commands/examples/hydrogen-upgrade.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify hydrogen upgrade [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/organization-list.example.sh b/docs-shopify.dev/commands/examples/organization-list.example.sh deleted file mode 100644 index d3b98b1d20c..00000000000 --- a/docs-shopify.dev/commands/examples/organization-list.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify organization list [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/search.example.sh b/docs-shopify.dev/commands/examples/search.example.sh deleted file mode 100644 index 3ddc9abb706..00000000000 --- a/docs-shopify.dev/commands/examples/search.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify search [query] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/store-auth.example.sh b/docs-shopify.dev/commands/examples/store-auth.example.sh deleted file mode 100644 index e0e0d4062f6..00000000000 --- a/docs-shopify.dev/commands/examples/store-auth.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify store auth [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/store-execute.example.sh b/docs-shopify.dev/commands/examples/store-execute.example.sh deleted file mode 100644 index 1bbf7d1bbfc..00000000000 --- a/docs-shopify.dev/commands/examples/store-execute.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify store execute [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-check.example.sh b/docs-shopify.dev/commands/examples/theme-check.example.sh deleted file mode 100644 index de79233625c..00000000000 --- a/docs-shopify.dev/commands/examples/theme-check.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme check [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-console.example.sh b/docs-shopify.dev/commands/examples/theme-console.example.sh deleted file mode 100644 index a30398ab4fc..00000000000 --- a/docs-shopify.dev/commands/examples/theme-console.example.sh +++ /dev/null @@ -1,3 +0,0 @@ -shopify theme console - -shopify theme console --url /products/classic-leather-jacket \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-delete.example.sh b/docs-shopify.dev/commands/examples/theme-delete.example.sh deleted file mode 100644 index bae1f94fcb8..00000000000 --- a/docs-shopify.dev/commands/examples/theme-delete.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme delete [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-dev.example.sh b/docs-shopify.dev/commands/examples/theme-dev.example.sh deleted file mode 100644 index 3b58af017f1..00000000000 --- a/docs-shopify.dev/commands/examples/theme-dev.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme dev [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-duplicate.example.sh b/docs-shopify.dev/commands/examples/theme-duplicate.example.sh deleted file mode 100644 index d4437b97910..00000000000 --- a/docs-shopify.dev/commands/examples/theme-duplicate.example.sh +++ /dev/null @@ -1,3 +0,0 @@ -shopify theme duplicate - -shopify theme duplicate --theme 10 --name 'New Theme' \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-info.example.sh b/docs-shopify.dev/commands/examples/theme-info.example.sh deleted file mode 100644 index 97340d0c6ec..00000000000 --- a/docs-shopify.dev/commands/examples/theme-info.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme info [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-init.example.sh b/docs-shopify.dev/commands/examples/theme-init.example.sh deleted file mode 100644 index b58f7ce45c4..00000000000 --- a/docs-shopify.dev/commands/examples/theme-init.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme init [name] [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-language-server.example.sh b/docs-shopify.dev/commands/examples/theme-language-server.example.sh deleted file mode 100644 index 244de43edfe..00000000000 --- a/docs-shopify.dev/commands/examples/theme-language-server.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme language-server [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-list.example.sh b/docs-shopify.dev/commands/examples/theme-list.example.sh deleted file mode 100644 index ad34b8c17f2..00000000000 --- a/docs-shopify.dev/commands/examples/theme-list.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme list [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-metafields-pull.example.sh b/docs-shopify.dev/commands/examples/theme-metafields-pull.example.sh deleted file mode 100644 index 808efb44fc4..00000000000 --- a/docs-shopify.dev/commands/examples/theme-metafields-pull.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme metafields pull [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-open.example.sh b/docs-shopify.dev/commands/examples/theme-open.example.sh deleted file mode 100644 index d2a08bc1e8a..00000000000 --- a/docs-shopify.dev/commands/examples/theme-open.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme open [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-package.example.sh b/docs-shopify.dev/commands/examples/theme-package.example.sh deleted file mode 100644 index 8f410ed6590..00000000000 --- a/docs-shopify.dev/commands/examples/theme-package.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme package [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-preview.example.sh b/docs-shopify.dev/commands/examples/theme-preview.example.sh deleted file mode 100644 index 413551d11a0..00000000000 --- a/docs-shopify.dev/commands/examples/theme-preview.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme preview [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-profile.example.sh b/docs-shopify.dev/commands/examples/theme-profile.example.sh deleted file mode 100644 index 8fc2c1718ec..00000000000 --- a/docs-shopify.dev/commands/examples/theme-profile.example.sh +++ /dev/null @@ -1,3 +0,0 @@ -shopify theme profile - -shopify theme profile --url /products/classic-leather-jacket \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-publish.example.sh b/docs-shopify.dev/commands/examples/theme-publish.example.sh deleted file mode 100644 index 1f53b850c46..00000000000 --- a/docs-shopify.dev/commands/examples/theme-publish.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme publish [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-pull.example.sh b/docs-shopify.dev/commands/examples/theme-pull.example.sh deleted file mode 100644 index bbc619d8214..00000000000 --- a/docs-shopify.dev/commands/examples/theme-pull.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme pull [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-push.example.sh b/docs-shopify.dev/commands/examples/theme-push.example.sh deleted file mode 100644 index e853d0e590a..00000000000 --- a/docs-shopify.dev/commands/examples/theme-push.example.sh +++ /dev/null @@ -1,3 +0,0 @@ -shopify theme push - -shopify theme push --unpublished --json \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-rename.example.sh b/docs-shopify.dev/commands/examples/theme-rename.example.sh deleted file mode 100644 index bb3acf6b4ff..00000000000 --- a/docs-shopify.dev/commands/examples/theme-rename.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme rename [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/theme-share.example.sh b/docs-shopify.dev/commands/examples/theme-share.example.sh deleted file mode 100644 index d2ec31f88d8..00000000000 --- a/docs-shopify.dev/commands/examples/theme-share.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify theme share [flags] \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/upgrade.example.sh b/docs-shopify.dev/commands/examples/upgrade.example.sh deleted file mode 100644 index 02cb05484c0..00000000000 --- a/docs-shopify.dev/commands/examples/upgrade.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify upgrade \ No newline at end of file diff --git a/docs-shopify.dev/commands/examples/version.example.sh b/docs-shopify.dev/commands/examples/version.example.sh deleted file mode 100644 index d9a6f5e05de..00000000000 --- a/docs-shopify.dev/commands/examples/version.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify version \ No newline at end of file diff --git a/docs-shopify.dev/commands/help.doc.ts b/docs-shopify.dev/commands/help.doc.ts deleted file mode 100644 index 2b55e498435..00000000000 --- a/docs-shopify.dev/commands/help.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'help', - description: `Display help for Shopify CLI`, - overviewPreviewDescription: `Display help for Shopify CLI`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'help', - code: './examples/help.example.sh', - language: 'bash', - }, - ], - title: 'help', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `help` command:', - type: 'help', - }, - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-build.doc.ts b/docs-shopify.dev/commands/hydrogen-build.doc.ts deleted file mode 100644 index 7c5699814b7..00000000000 --- a/docs-shopify.dev/commands/hydrogen-build.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen build', - description: `Builds a Hydrogen storefront for production. The client and app worker files are compiled to a \`/dist\` folder in your Hydrogen project directory.`, - overviewPreviewDescription: `Builds a Hydrogen storefront for production. The client and app worker files are compiled to a \`/dist\` folder in your Hydrogen project directory.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen build', - code: './examples/hydrogen-build.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen build', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen build` command:', - type: 'hydrogenbuild', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-check.doc.ts b/docs-shopify.dev/commands/hydrogen-check.doc.ts deleted file mode 100644 index afd53f9304d..00000000000 --- a/docs-shopify.dev/commands/hydrogen-check.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen check', - description: `Checks whether your Hydrogen app includes a set of standard Shopify routes.`, - overviewPreviewDescription: `Checks whether your Hydrogen app includes a set of standard Shopify routes.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen check', - code: './examples/hydrogen-check.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen check', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen check` command:', - type: 'hydrogencheck', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-codegen.doc.ts b/docs-shopify.dev/commands/hydrogen-codegen.doc.ts deleted file mode 100644 index 00b9233f8ac..00000000000 --- a/docs-shopify.dev/commands/hydrogen-codegen.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen codegen', - description: `Automatically generates GraphQL types for your project’s Storefront API queries.`, - overviewPreviewDescription: `Automatically generates GraphQL types for your project’s Storefront API queries.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen codegen', - code: './examples/hydrogen-codegen.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen codegen', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen codegen` command:', - type: 'hydrogencodegen', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-customer-account-push.doc.ts b/docs-shopify.dev/commands/hydrogen-customer-account-push.doc.ts deleted file mode 100644 index 0a5279d137c..00000000000 --- a/docs-shopify.dev/commands/hydrogen-customer-account-push.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen customer-account-push', - description: `Push project configuration to admin`, - overviewPreviewDescription: `Push project configuration to admin`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen customer-account-push', - code: './examples/hydrogen-customer-account-push.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen customer-account-push', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen customer-account-push` command:', - type: 'hydrogencustomeraccountpush', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-debug-cpu.doc.ts b/docs-shopify.dev/commands/hydrogen-debug-cpu.doc.ts deleted file mode 100644 index 21c9ba36b28..00000000000 --- a/docs-shopify.dev/commands/hydrogen-debug-cpu.doc.ts +++ /dev/null @@ -1,38 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen debug cpu', - description: `Builds the app and runs the resulting code to profile the server startup time, watching for changes. This command can be used to [debug slow app startup times](/docs/custom-storefronts/hydrogen/debugging/cpu-startup) that cause failed deployments in Oxygen. - - The profiling results are written to a \`.cpuprofile\` file that can be viewed with certain tools such as [Flame Chart Visualizer for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-js-profile-flame).`, - overviewPreviewDescription: `Builds the app and runs the resulting code to profile the server startup time, watching for changes. This command can be used to [debug slow app startup times](/docs/custom-storefronts/hydrogen/debugging/cpu-startup) that cause failed deployments in Oxygen. - - The profiling results are written to a \`.cpuprofile\` file that can be viewed with certain tools such as [Flame Chart Visualizer for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-js-profile-flame).`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen debug cpu', - code: './examples/hydrogen-debug-cpu.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen debug cpu', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen debug cpu` command:', - type: 'hydrogendebugcpu', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-deploy.doc.ts b/docs-shopify.dev/commands/hydrogen-deploy.doc.ts deleted file mode 100644 index 5d014c407fd..00000000000 --- a/docs-shopify.dev/commands/hydrogen-deploy.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen deploy', - description: `Builds and deploys your Hydrogen storefront to Oxygen. Requires an Oxygen deployment token to be set with the \`--token\` flag or an environment variable (\`SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN\`). If the storefront is [linked](/docs/api/shopify-cli/hydrogen/hydrogen-link) then the Oxygen deployment token for the linked storefront will be used automatically.`, - overviewPreviewDescription: `Builds and deploys your Hydrogen storefront to Oxygen. Requires an Oxygen deployment token to be set with the \`--token\` flag or an environment variable (\`SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN\`). If the storefront is [linked](/docs/api/shopify-cli/hydrogen/hydrogen-link) then the Oxygen deployment token for the linked storefront will be used automatically.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen deploy', - code: './examples/hydrogen-deploy.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen deploy', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen deploy` command:', - type: 'hydrogendeploy', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-dev.doc.ts b/docs-shopify.dev/commands/hydrogen-dev.doc.ts deleted file mode 100644 index 5d55c8df2c2..00000000000 --- a/docs-shopify.dev/commands/hydrogen-dev.doc.ts +++ /dev/null @@ -1,38 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen dev', - description: `Runs a Hydrogen storefront in a local runtime that emulates an Oxygen worker for development. - - If your project is [linked](/docs/api/shopify-cli/hydrogen/hydrogen-link) to a Hydrogen storefront, then its environment variables will be loaded with the runtime.`, - overviewPreviewDescription: `Runs a Hydrogen storefront in a local runtime that emulates an Oxygen worker for development. - - If your project is [linked](/docs/api/shopify-cli/hydrogen/hydrogen-link) to a Hydrogen storefront, then its environment variables will be loaded with the runtime.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen dev', - code: './examples/hydrogen-dev.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen dev', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen dev` command:', - type: 'hydrogendev', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-env-list.doc.ts b/docs-shopify.dev/commands/hydrogen-env-list.doc.ts deleted file mode 100644 index 4e8d12af3bf..00000000000 --- a/docs-shopify.dev/commands/hydrogen-env-list.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen env list', - description: `Lists all environments available on the linked Hydrogen storefront.`, - overviewPreviewDescription: `Lists all environments available on the linked Hydrogen storefront.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen env list', - code: './examples/hydrogen-env-list.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen env list', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen env list` command:', - type: 'hydrogenenvlist', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-env-pull.doc.ts b/docs-shopify.dev/commands/hydrogen-env-pull.doc.ts deleted file mode 100644 index 195847967bf..00000000000 --- a/docs-shopify.dev/commands/hydrogen-env-pull.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen env pull', - description: `Pulls environment variables from the linked Hydrogen storefront and writes them to an \`.env\` file.`, - overviewPreviewDescription: `Pulls environment variables from the linked Hydrogen storefront and writes them to an \`.env\` file.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen env pull', - code: './examples/hydrogen-env-pull.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen env pull', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen env pull` command:', - type: 'hydrogenenvpull', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-env-push.doc.ts b/docs-shopify.dev/commands/hydrogen-env-push.doc.ts deleted file mode 100644 index 29fe7c9eacc..00000000000 --- a/docs-shopify.dev/commands/hydrogen-env-push.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen env push', - description: `Push environment variables from the local .env file to your linked Hydrogen storefront.`, - overviewPreviewDescription: `Push environment variables from the local .env file to your linked Hydrogen storefront.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen env push', - code: './examples/hydrogen-env-push.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen env push', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen env push` command:', - type: 'hydrogenenvpush', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-generate-route.doc.ts b/docs-shopify.dev/commands/hydrogen-generate-route.doc.ts deleted file mode 100644 index 00c4510a958..00000000000 --- a/docs-shopify.dev/commands/hydrogen-generate-route.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen generate route', - description: `Generates a set of default routes from the starter template.`, - overviewPreviewDescription: `Generates a set of default routes from the starter template.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen generate route', - code: './examples/hydrogen-generate-route.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen generate route', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen generate route` command:', - type: 'hydrogengenerateroute', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-generate-routes.doc.ts b/docs-shopify.dev/commands/hydrogen-generate-routes.doc.ts deleted file mode 100644 index 4e95d749369..00000000000 --- a/docs-shopify.dev/commands/hydrogen-generate-routes.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen generate routes', - description: `Generates all supported standard shopify routes.`, - overviewPreviewDescription: `Generates all supported standard shopify routes.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen generate routes', - code: './examples/hydrogen-generate-routes.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen generate routes', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen generate routes` command:', - type: 'hydrogengenerateroutes', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-init.doc.ts b/docs-shopify.dev/commands/hydrogen-init.doc.ts deleted file mode 100644 index f37e249196a..00000000000 --- a/docs-shopify.dev/commands/hydrogen-init.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen init', - description: `Creates a new Hydrogen storefront.`, - overviewPreviewDescription: `Creates a new Hydrogen storefront.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen init', - code: './examples/hydrogen-init.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen init', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen init` command:', - type: 'hydrogeninit', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-link.doc.ts b/docs-shopify.dev/commands/hydrogen-link.doc.ts deleted file mode 100644 index 3ff4996948f..00000000000 --- a/docs-shopify.dev/commands/hydrogen-link.doc.ts +++ /dev/null @@ -1,42 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen link', - description: `Links your local development environment to a remote Hydrogen storefront. You can link an unlimited number of development environments to a single Hydrogen storefront. - - Linking to a Hydrogen storefront enables you to run [dev](/docs/api/shopify-cli/hydrogen/hydrogen-dev) and automatically inject your linked Hydrogen storefront's environment variables directly into the server runtime. - - After you run the \`link\` command, you can access the [env list](/docs/api/shopify-cli/hydrogen/hydrogen-env-list), [env pull](/docs/api/shopify-cli/hydrogen/hydrogen-env-pull), and [unlink](/docs/api/shopify-cli/hydrogen/hydrogen-unlink) commands.`, - overviewPreviewDescription: `Links your local development environment to a remote Hydrogen storefront. You can link an unlimited number of development environments to a single Hydrogen storefront. - - Linking to a Hydrogen storefront enables you to run [dev](/docs/api/shopify-cli/hydrogen/hydrogen-dev) and automatically inject your linked Hydrogen storefront's environment variables directly into the server runtime. - - After you run the \`link\` command, you can access the [env list](/docs/api/shopify-cli/hydrogen/hydrogen-env-list), [env pull](/docs/api/shopify-cli/hydrogen/hydrogen-env-pull), and [unlink](/docs/api/shopify-cli/hydrogen/hydrogen-unlink) commands.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen link', - code: './examples/hydrogen-link.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen link', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen link` command:', - type: 'hydrogenlink', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-list.doc.ts b/docs-shopify.dev/commands/hydrogen-list.doc.ts deleted file mode 100644 index f82ee79597a..00000000000 --- a/docs-shopify.dev/commands/hydrogen-list.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen list', - description: `Lists all remote Hydrogen storefronts available to link to your local development environment.`, - overviewPreviewDescription: `Lists all remote Hydrogen storefronts available to link to your local development environment.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen list', - code: './examples/hydrogen-list.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen list', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen list` command:', - type: 'hydrogenlist', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-login.doc.ts b/docs-shopify.dev/commands/hydrogen-login.doc.ts deleted file mode 100644 index bd204bff875..00000000000 --- a/docs-shopify.dev/commands/hydrogen-login.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen login', - description: `Logs in to the specified shop and saves the shop domain to the project.`, - overviewPreviewDescription: `Logs in to the specified shop and saves the shop domain to the project.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen login', - code: './examples/hydrogen-login.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen login', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen login` command:', - type: 'hydrogenlogin', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-logout.doc.ts b/docs-shopify.dev/commands/hydrogen-logout.doc.ts deleted file mode 100644 index fc0c866410a..00000000000 --- a/docs-shopify.dev/commands/hydrogen-logout.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen logout', - description: `Log out from the current shop.`, - overviewPreviewDescription: `Log out from the current shop.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen logout', - code: './examples/hydrogen-logout.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen logout', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen logout` command:', - type: 'hydrogenlogout', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-preview.doc.ts b/docs-shopify.dev/commands/hydrogen-preview.doc.ts deleted file mode 100644 index e504feaf1e4..00000000000 --- a/docs-shopify.dev/commands/hydrogen-preview.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen preview', - description: `Runs a server in your local development environment that serves your Hydrogen app's production build. Requires running the [build](/docs/api/shopify-cli/hydrogen/hydrogen-build) command first.`, - overviewPreviewDescription: `Runs a server in your local development environment that serves your Hydrogen app's production build. Requires running the [build](/docs/api/shopify-cli/hydrogen/hydrogen-build) command first.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen preview', - code: './examples/hydrogen-preview.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen preview', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen preview` command:', - type: 'hydrogenpreview', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-setup-css.doc.ts b/docs-shopify.dev/commands/hydrogen-setup-css.doc.ts deleted file mode 100644 index fb10471f71d..00000000000 --- a/docs-shopify.dev/commands/hydrogen-setup-css.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen setup css', - description: `Adds support for certain CSS strategies to your project.`, - overviewPreviewDescription: `Adds support for certain CSS strategies to your project.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen setup css', - code: './examples/hydrogen-setup-css.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen setup css', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen setup css` command:', - type: 'hydrogensetupcss', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-setup-markets.doc.ts b/docs-shopify.dev/commands/hydrogen-setup-markets.doc.ts deleted file mode 100644 index 5cf2ec57d8d..00000000000 --- a/docs-shopify.dev/commands/hydrogen-setup-markets.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen setup markets', - description: `Adds support for multiple [markets](/docs/custom-storefronts/hydrogen/markets) to your project by using the URL structure.`, - overviewPreviewDescription: `Adds support for multiple [markets](/docs/custom-storefronts/hydrogen/markets) to your project by using the URL structure.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen setup markets', - code: './examples/hydrogen-setup-markets.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen setup markets', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen setup markets` command:', - type: 'hydrogensetupmarkets', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-setup-vite.doc.ts b/docs-shopify.dev/commands/hydrogen-setup-vite.doc.ts deleted file mode 100644 index c70a69522dd..00000000000 --- a/docs-shopify.dev/commands/hydrogen-setup-vite.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen setup vite', - description: `EXPERIMENTAL: Upgrades the project to use Vite.`, - overviewPreviewDescription: `EXPERIMENTAL: Upgrades the project to use Vite.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen setup vite', - code: './examples/hydrogen-setup-vite.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen setup vite', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen setup vite` command:', - type: 'hydrogensetupvite', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-setup.doc.ts b/docs-shopify.dev/commands/hydrogen-setup.doc.ts deleted file mode 100644 index 1b842947999..00000000000 --- a/docs-shopify.dev/commands/hydrogen-setup.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen setup', - description: `Scaffold routes and core functionality.`, - overviewPreviewDescription: `Scaffold routes and core functionality.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen setup', - code: './examples/hydrogen-setup.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen setup', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen setup` command:', - type: 'hydrogensetup', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-shortcut.doc.ts b/docs-shopify.dev/commands/hydrogen-shortcut.doc.ts deleted file mode 100644 index a3da5b3a35b..00000000000 --- a/docs-shopify.dev/commands/hydrogen-shortcut.doc.ts +++ /dev/null @@ -1,47 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen shortcut', - description: `Creates a global h2 shortcut for Shopify CLI using shell aliases. - - The following shells are supported: - - - Bash (using \`~/.bashrc\`) - - ZSH (using \`~/.zshrc\`) - - Fish (using \`~/.config/fish/functions\`) - - PowerShell (added to \`$PROFILE\`) - - After the alias is created, you can call Shopify CLI from anywhere in your project using \`h2 \`.`, - overviewPreviewDescription: `Creates a global h2 shortcut for Shopify CLI using shell aliases. - - The following shells are supported: - - - Bash (using \`~/.bashrc\`) - - ZSH (using \`~/.zshrc\`) - - Fish (using \`~/.config/fish/functions\`) - - PowerShell (added to \`$PROFILE\`) - - After the alias is created, you can call Shopify CLI from anywhere in your project using \`h2 \`.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen shortcut', - code: './examples/hydrogen-shortcut.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen shortcut', - }, - }, - definitions: [ - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-unlink.doc.ts b/docs-shopify.dev/commands/hydrogen-unlink.doc.ts deleted file mode 100644 index fb6fadaed58..00000000000 --- a/docs-shopify.dev/commands/hydrogen-unlink.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen unlink', - description: `Unlinks your local development environment from a remote Hydrogen storefront.`, - overviewPreviewDescription: `Unlinks your local development environment from a remote Hydrogen storefront.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen unlink', - code: './examples/hydrogen-unlink.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen unlink', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen unlink` command:', - type: 'hydrogenunlink', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/hydrogen-upgrade.doc.ts b/docs-shopify.dev/commands/hydrogen-upgrade.doc.ts deleted file mode 100644 index ac0609d6ec7..00000000000 --- a/docs-shopify.dev/commands/hydrogen-upgrade.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'hydrogen upgrade', - description: `Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.`, - overviewPreviewDescription: `Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'hydrogen upgrade', - code: './examples/hydrogen-upgrade.example.sh', - language: 'bash', - }, - ], - title: 'hydrogen upgrade', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `hydrogen upgrade` command:', - type: 'hydrogenupgrade', - }, - ], - category: 'hydrogen', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/interfaces/config-autoupgrade-off.interface.ts b/docs-shopify.dev/commands/interfaces/config-autoupgrade-off.interface.ts new file mode 100644 index 00000000000..515307131ea --- /dev/null +++ b/docs-shopify.dev/commands/interfaces/config-autoupgrade-off.interface.ts @@ -0,0 +1,8 @@ +// This is an autogenerated file. Don't edit this file manually. +/** + * The following flags are available for the `config autoupgrade off` command: + * @publicDocs + */ +export interface configautoupgradeoff { + +} diff --git a/docs-shopify.dev/commands/interfaces/config-autoupgrade-on.interface.ts b/docs-shopify.dev/commands/interfaces/config-autoupgrade-on.interface.ts new file mode 100644 index 00000000000..9b2d007ecf3 --- /dev/null +++ b/docs-shopify.dev/commands/interfaces/config-autoupgrade-on.interface.ts @@ -0,0 +1,8 @@ +// This is an autogenerated file. Don't edit this file manually. +/** + * The following flags are available for the `config autoupgrade on` command: + * @publicDocs + */ +export interface configautoupgradeon { + +} diff --git a/docs-shopify.dev/commands/interfaces/config-autoupgrade-status.interface.ts b/docs-shopify.dev/commands/interfaces/config-autoupgrade-status.interface.ts new file mode 100644 index 00000000000..c6d74fb288b --- /dev/null +++ b/docs-shopify.dev/commands/interfaces/config-autoupgrade-status.interface.ts @@ -0,0 +1,8 @@ +// This is an autogenerated file. Don't edit this file manually. +/** + * The following flags are available for the `config autoupgrade status` command: + * @publicDocs + */ +export interface configautoupgradestatus { + +} diff --git a/docs-shopify.dev/commands/organization-list.doc.ts b/docs-shopify.dev/commands/organization-list.doc.ts deleted file mode 100644 index 2e80d3dd424..00000000000 --- a/docs-shopify.dev/commands/organization-list.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'organization list', - description: `Lists the Shopify organizations that you have access to, along with their organization IDs.`, - overviewPreviewDescription: `List Shopify organizations you have access to.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'organization list', - code: './examples/organization-list.example.sh', - language: 'bash', - }, - ], - title: 'organization list', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `organization list` command:', - type: 'organizationlist', - }, - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/search.doc.ts b/docs-shopify.dev/commands/search.doc.ts deleted file mode 100644 index 63c2346c566..00000000000 --- a/docs-shopify.dev/commands/search.doc.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'search', - description: `Starts a search on shopify.dev.`, - overviewPreviewDescription: `Starts a search on shopify.dev.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'search', - code: './examples/search.example.sh', - language: 'bash', - }, - ], - title: 'search', - }, - }, - definitions: [ - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/store-auth.doc.ts b/docs-shopify.dev/commands/store-auth.doc.ts deleted file mode 100644 index 8f06c2b8c9e..00000000000 --- a/docs-shopify.dev/commands/store-auth.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'store auth', - description: `Authenticates the app against the specified store for store commands and stores an online access token for later reuse. - -Re-run this command if the stored token is missing, expires, or no longer has the scopes you need.`, - overviewPreviewDescription: `Authenticate an app against a store for store commands.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'store auth', - code: './examples/store-auth.example.sh', - language: 'bash', - }, - ], - title: 'store auth', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `store auth` command:', - type: 'storeauth', - }, - ], - category: 'store', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/store-execute.doc.ts b/docs-shopify.dev/commands/store-execute.doc.ts deleted file mode 100644 index e1707fef3e5..00000000000 --- a/docs-shopify.dev/commands/store-execute.doc.ts +++ /dev/null @@ -1,38 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'store execute', - description: `Executes an Admin API GraphQL query or mutation on the specified store using previously stored app authentication. - -Run \`shopify store auth\` first to create stored auth for the store. - -Mutations are disabled by default. Re-run with \`--allow-mutations\` if you intend to modify store data.`, - overviewPreviewDescription: `Execute GraphQL queries and mutations on a store.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'store execute', - code: './examples/store-execute.example.sh', - language: 'bash', - }, - ], - title: 'store execute', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `store execute` command:', - type: 'storeexecute', - }, - ], - category: 'store', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-check.doc.ts b/docs-shopify.dev/commands/theme-check.doc.ts deleted file mode 100644 index baf51103617..00000000000 --- a/docs-shopify.dev/commands/theme-check.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme check', - description: `Calls and runs [Theme Check](/docs/themes/tools/theme-check) to analyze your theme code for errors and to ensure that it follows theme and Liquid best practices. [Learn more about the checks that Theme Check runs.](/docs/themes/tools/theme-check/checks)`, - overviewPreviewDescription: `Validate the theme.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme check', - code: './examples/theme-check.example.sh', - language: 'bash', - }, - ], - title: 'theme check', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme check` command:', - type: 'themecheck', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-console.doc.ts b/docs-shopify.dev/commands/theme-console.doc.ts deleted file mode 100644 index a2eb67dfbce..00000000000 --- a/docs-shopify.dev/commands/theme-console.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme console', - description: `Starts the Shopify Liquid REPL (read-eval-print loop) tool. This tool provides an interactive terminal interface for evaluating Liquid code and exploring Liquid objects, filters, and tags using real store data. - - You can also provide context to the console using a URL, as some Liquid objects are context-specific`, - overviewPreviewDescription: `Shopify Liquid REPL (read-eval-print loop) tool`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme console', - code: './examples/theme-console.example.sh', - language: 'bash', - }, - ], - title: 'theme console', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme console` command:', - type: 'themeconsole', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-delete.doc.ts b/docs-shopify.dev/commands/theme-delete.doc.ts deleted file mode 100644 index 69cb5755939..00000000000 --- a/docs-shopify.dev/commands/theme-delete.doc.ts +++ /dev/null @@ -1,38 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme delete', - description: `Deletes a theme from your store. - - You can specify multiple themes by ID. If no theme is specified, then you're prompted to select the theme that you want to delete from the list of themes in your store. - - You're asked to confirm that you want to delete the specified themes before they are deleted. You can skip this confirmation using the \`--force\` flag.`, - overviewPreviewDescription: `Delete remote themes from the connected store. This command can't be undone.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme delete', - code: './examples/theme-delete.example.sh', - language: 'bash', - }, - ], - title: 'theme delete', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme delete` command:', - type: 'themedelete', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-dev.doc.ts b/docs-shopify.dev/commands/theme-dev.doc.ts deleted file mode 100644 index 3f6a1c3029a..00000000000 --- a/docs-shopify.dev/commands/theme-dev.doc.ts +++ /dev/null @@ -1,53 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme dev', - description: ` - Uploads the current theme as the specified theme, or a [development theme](/docs/themes/tools/cli#development-themes), to a store so you can preview it. - -This command returns the following information: - -- A link to your development theme at http://127.0.0.1:9292. This URL can hot reload local changes to CSS and sections, or refresh the entire page when a file changes, enabling you to preview changes in real time using the store's data. - - You can specify a different network interface and port using \`--host\` and \`--port\`. - -- A link to the [editor](/docs/themes/tools/online-editor) for the theme in the Shopify admin. - -- A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers. - -If you already have a development theme for your current environment, then this command replaces the development theme with your local theme. You can override this using the \`--theme-editor-sync\` flag. - -> Note: You can't preview checkout customizations using http://127.0.0.1:9292. - -Development themes are deleted when you run \`shopify auth logout\`. If you need a preview link that can be used after you log out, then you should [share](/docs/api/shopify-cli/theme/theme-share) your theme or [push](/docs/api/shopify-cli/theme/theme-push) to an unpublished theme on your store. - -You can run this command only in a directory that matches the [default Shopify theme folder structure](/docs/themes/tools/cli#directory-structure).`, - overviewPreviewDescription: `Uploads the current theme as a development theme to the connected store, then prints theme editor and preview URLs to your terminal. While running, changes will push to the store in real time.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme dev', - code: './examples/theme-dev.example.sh', - language: 'bash', - }, - ], - title: 'theme dev', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme dev` command:', - type: 'themedev', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-duplicate.doc.ts b/docs-shopify.dev/commands/theme-duplicate.doc.ts deleted file mode 100644 index 722901b7246..00000000000 --- a/docs-shopify.dev/commands/theme-duplicate.doc.ts +++ /dev/null @@ -1,63 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme duplicate', - description: `If you want to duplicate your local theme, you need to run \`shopify theme push\` first. - -If no theme ID is specified, you're prompted to select the theme that you want to duplicate from the list of themes in your store. You're asked to confirm that you want to duplicate the specified theme. - -Prompts and confirmations are not shown when duplicate is run in a CI environment or the \`--force\` flag is used, therefore you must specify a theme ID using the \`--theme\` flag. - -You can optionally name the duplicated theme using the \`--name\` flag. - -If you use the \`--json\` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration. - -Sample JSON output: - -\`\`\`json -{ - "theme": { - "id": 108267175958, - "name": "A Duplicated Theme", - "role": "unpublished", - "shop": "mystore.myshopify.com" - } -} -\`\`\` - -\`\`\`json -{ - "message": "The theme 'Summer Edition' could not be duplicated due to errors", - "errors": ["Maximum number of themes reached"], - "requestId": "12345-abcde-67890" -} -\`\`\``, - overviewPreviewDescription: `Duplicates a theme from your theme library.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme duplicate', - code: './examples/theme-duplicate.example.sh', - language: 'bash', - }, - ], - title: 'theme duplicate', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme duplicate` command:', - type: 'themeduplicate', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-info.doc.ts b/docs-shopify.dev/commands/theme-info.doc.ts deleted file mode 100644 index b1942001df2..00000000000 --- a/docs-shopify.dev/commands/theme-info.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme info', - description: `Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.`, - overviewPreviewDescription: `Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme info', - code: './examples/theme-info.example.sh', - language: 'bash', - }, - ], - title: 'theme info', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme info` command:', - type: 'themeinfo', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-init.doc.ts b/docs-shopify.dev/commands/theme-init.doc.ts deleted file mode 100644 index 80257b39bce..00000000000 --- a/docs-shopify.dev/commands/theme-init.doc.ts +++ /dev/null @@ -1,39 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme init', - description: `Clones a Git repository to your local machine to use as the starting point for building a theme. - - If no Git repository is specified, then this command creates a copy of Shopify's [Skeleton theme](https://github.com/Shopify/skeleton-theme.git), with the specified name in the current folder. If no name is provided, then you're prompted to enter one. - - > Caution: If you're building a theme for the Shopify Theme Store, then you can use our example theme as a starting point. However, the theme that you submit needs to be [substantively different from existing themes](/docs/themes/store/requirements#uniqueness) so that it provides added value for users. - `, - overviewPreviewDescription: `Clones a Git repository to use as a starting point for building a new theme.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme init', - code: './examples/theme-init.example.sh', - language: 'bash', - }, - ], - title: 'theme init', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme init` command:', - type: 'themeinit', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-language-server.doc.ts b/docs-shopify.dev/commands/theme-language-server.doc.ts deleted file mode 100644 index 5b77ace2b3f..00000000000 --- a/docs-shopify.dev/commands/theme-language-server.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme language-server', - description: `Starts the [Language Server](/docs/themes/tools/cli/language-server).`, - overviewPreviewDescription: `Start a Language Server Protocol server.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme language-server', - code: './examples/theme-language-server.example.sh', - language: 'bash', - }, - ], - title: 'theme language-server', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme language-server` command:', - type: 'themelanguageserver', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-list.doc.ts b/docs-shopify.dev/commands/theme-list.doc.ts deleted file mode 100644 index 10b1a3bfcc9..00000000000 --- a/docs-shopify.dev/commands/theme-list.doc.ts +++ /dev/null @@ -1,34 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme list', - description: `Lists the themes in your store, along with their IDs and statuses.`, - overviewPreviewDescription: `Lists the themes in your store, along with their IDs and statuses.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme list', - code: './examples/theme-list.example.sh', - language: 'bash', - }, - ], - title: 'theme list', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme list` command:', - type: 'themelist', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-metafields-pull.doc.ts b/docs-shopify.dev/commands/theme-metafields-pull.doc.ts deleted file mode 100644 index fdaaf381aee..00000000000 --- a/docs-shopify.dev/commands/theme-metafields-pull.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme metafields pull', - description: `Retrieves metafields from Shopify Admin. - -If the metafields file already exists, it will be overwritten.`, - overviewPreviewDescription: `Download metafields definitions from your shop into a local file.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme metafields pull', - code: './examples/theme-metafields-pull.example.sh', - language: 'bash', - }, - ], - title: 'theme metafields pull', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme metafields pull` command:', - type: 'thememetafieldspull', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-open.doc.ts b/docs-shopify.dev/commands/theme-open.doc.ts deleted file mode 100644 index b96adde3cc7..00000000000 --- a/docs-shopify.dev/commands/theme-open.doc.ts +++ /dev/null @@ -1,39 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme open', - description: `Returns links that let you preview the specified theme. The following links are returned: - - - A link to the [editor](/docs/themes/tools/online-editor) for the theme in the Shopify admin. - - A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers. - - If you don't specify a theme, then you're prompted to select the theme to open from the list of the themes in your store.`, - overviewPreviewDescription: `Opens the preview of your remote theme.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme open', - code: './examples/theme-open.example.sh', - language: 'bash', - }, - ], - title: 'theme open', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme open` command:', - type: 'themeopen', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-package.doc.ts b/docs-shopify.dev/commands/theme-package.doc.ts deleted file mode 100644 index 8e46a4a597c..00000000000 --- a/docs-shopify.dev/commands/theme-package.doc.ts +++ /dev/null @@ -1,40 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme package', - description: `Packages your local theme files into a ZIP file that can be uploaded to Shopify. - - Only folders that match the [default Shopify theme folder structure](/docs/storefronts/themes/tools/cli#directory-structure) are included in the package. - - The package includes the \`listings\` directory if present (required for multi-preset themes per [Theme Store requirements](/docs/storefronts/themes/store/requirements#adding-presets-to-your-theme-zip-submission)). - - The ZIP file uses the name \`theme_name-theme_version.zip\`, based on parameters in your [settings_schema.json](/docs/storefronts/themes/architecture/config/settings-schema-json) file.`, - overviewPreviewDescription: `Package your theme into a .zip file, ready to upload to the Online Store.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme package', - code: './examples/theme-package.example.sh', - language: 'bash', - }, - ], - title: 'theme package', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme package` command:', - type: 'themepackage', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-preview.doc.ts b/docs-shopify.dev/commands/theme-preview.doc.ts deleted file mode 100644 index 30ff73174d5..00000000000 --- a/docs-shopify.dev/commands/theme-preview.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme preview', - description: `Applies a JSON overrides file to a theme and creates or updates a preview. This lets you quickly preview changes. - - The command returns a preview URL and a preview identifier. You can reuse the preview identifier with \`--preview-id\` to update an existing preview instead of creating a new one.`, - overviewPreviewDescription: `Applies JSON overrides to a theme and returns a preview URL.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme preview', - code: './examples/theme-preview.example.sh', - language: 'bash', - }, - ], - title: 'theme preview', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme preview` command:', - type: 'themepreview', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-profile.doc.ts b/docs-shopify.dev/commands/theme-profile.doc.ts deleted file mode 100644 index e4427c67a61..00000000000 --- a/docs-shopify.dev/commands/theme-profile.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme profile', - description: `Profile the Shopify Liquid on a given page. - - This command will open a web page with the Speedscope profiler detailing the time spent executing Liquid on the given page.`, - overviewPreviewDescription: `Profile the Liquid rendering of a theme page.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme profile', - code: './examples/theme-profile.example.sh', - language: 'bash', - }, - ], - title: 'theme profile', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme profile` command:', - type: 'themeprofile', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-publish.doc.ts b/docs-shopify.dev/commands/theme-publish.doc.ts deleted file mode 100644 index e1df64c2492..00000000000 --- a/docs-shopify.dev/commands/theme-publish.doc.ts +++ /dev/null @@ -1,40 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme publish', - description: `Publishes an unpublished theme from your theme library. - -If no theme ID is specified, then you're prompted to select the theme that you want to publish from the list of themes in your store. - -You can run this command only in a directory that matches the [default Shopify theme folder structure](/docs/themes/tools/cli#directory-structure). - -If you want to publish your local theme, then you need to run \`shopify theme push\` first. You're asked to confirm that you want to publish the specified theme. You can skip this confirmation using the \`--force\` flag.`, - overviewPreviewDescription: `Set a remote theme as the live theme.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme publish', - code: './examples/theme-publish.example.sh', - language: 'bash', - }, - ], - title: 'theme publish', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme publish` command:', - type: 'themepublish', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-pull.doc.ts b/docs-shopify.dev/commands/theme-pull.doc.ts deleted file mode 100644 index 7c53070de3e..00000000000 --- a/docs-shopify.dev/commands/theme-pull.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme pull', - description: `Retrieves theme files from Shopify. - -If no theme is specified, then you're prompted to select the theme to pull from the list of the themes in your store.`, - overviewPreviewDescription: `Download your remote theme files locally.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme pull', - code: './examples/theme-pull.example.sh', - language: 'bash', - }, - ], - title: 'theme pull', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme pull` command:', - type: 'themepull', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-push.doc.ts b/docs-shopify.dev/commands/theme-push.doc.ts deleted file mode 100644 index 023c5c42edd..00000000000 --- a/docs-shopify.dev/commands/theme-push.doc.ts +++ /dev/null @@ -1,61 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme push', - description: `Uploads your local theme files to Shopify, overwriting the remote version if specified. - - If no theme is specified, then you're prompted to select the theme to overwrite from the list of the themes in your store. - - You can run this command only in a directory that matches the [default Shopify theme folder structure](/docs/themes/tools/cli#directory-structure). - - This command returns the following information: - - - A link to the [editor](/docs/themes/tools/online-editor) for the theme in the Shopify admin. - - A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others. - - If you use the \`--json\` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration. - - Sample output: - - \`\`\`json - { - "theme": { - "id": 108267175958, - "name": "MyTheme", - "role": "unpublished", - "shop": "mystore.myshopify.com", - "editor_url": "https://mystore.myshopify.com/admin/themes/108267175958/editor", - "preview_url": "https://mystore.myshopify.com/?preview_theme_id=108267175958" - } - } - \`\`\` - `, - overviewPreviewDescription: `Uploads your local theme files to the connected store, overwriting the remote version if specified.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme push', - code: './examples/theme-push.example.sh', - language: 'bash', - }, - ], - title: 'theme push', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme push` command:', - type: 'themepush', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-rename.doc.ts b/docs-shopify.dev/commands/theme-rename.doc.ts deleted file mode 100644 index 2425ac9ced1..00000000000 --- a/docs-shopify.dev/commands/theme-rename.doc.ts +++ /dev/null @@ -1,37 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme rename', - description: `Renames a theme in your store. - - If no theme is specified, then you're prompted to select the theme that you want to rename from the list of themes in your store. - `, - overviewPreviewDescription: `Renames an existing theme.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme rename', - code: './examples/theme-rename.example.sh', - language: 'bash', - }, - ], - title: 'theme rename', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme rename` command:', - type: 'themerename', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/theme-share.doc.ts b/docs-shopify.dev/commands/theme-share.doc.ts deleted file mode 100644 index cd7ef590295..00000000000 --- a/docs-shopify.dev/commands/theme-share.doc.ts +++ /dev/null @@ -1,36 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'theme share', - description: `Uploads your theme as a new, unpublished theme in your theme library. The theme is given a randomized name. - - This command returns a [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.`, - overviewPreviewDescription: `Creates a shareable, unpublished, and new theme on your theme library with a randomized name.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'theme share', - code: './examples/theme-share.example.sh', - language: 'bash', - }, - ], - title: 'theme share', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the `theme share` command:', - type: 'themeshare', - }, - ], - category: 'theme', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/upgrade.doc.ts b/docs-shopify.dev/commands/upgrade.doc.ts deleted file mode 100644 index 2b016df7eaa..00000000000 --- a/docs-shopify.dev/commands/upgrade.doc.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'upgrade', - description: `Upgrades Shopify CLI using your package manager.`, - overviewPreviewDescription: `Upgrades Shopify CLI.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'upgrade', - code: './examples/upgrade.example.sh', - language: 'bash', - }, - ], - title: 'upgrade', - }, - }, - definitions: [ - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/commands/version.doc.ts b/docs-shopify.dev/commands/version.doc.ts deleted file mode 100644 index b37597fb9c0..00000000000 --- a/docs-shopify.dev/commands/version.doc.ts +++ /dev/null @@ -1,29 +0,0 @@ -// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'version', - description: `Shopify CLI version currently installed.`, - overviewPreviewDescription: `Shopify CLI version currently installed.`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'version', - code: './examples/version.example.sh', - language: 'bash', - }, - ], - title: 'version', - }, - }, - definitions: [ - ], - category: 'general commands', - related: [ - ], -} - -export default data \ No newline at end of file diff --git a/docs-shopify.dev/generated/generated_category_pages.json b/docs-shopify.dev/generated/generated_category_pages.json deleted file mode 100644 index f7d59ab4c85..00000000000 --- a/docs-shopify.dev/generated/generated_category_pages.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "category": "app", - "title": "Shopify CLI App commands", - "sections": [] - }, - { - "category": "general-commands", - "title": "Shopify CLI General commands", - "sections": [] - }, - { - "category": "hydrogen", - "title": "Shopify CLI Hydrogen commands", - "sections": [] - }, - { - "category": "store", - "title": "Shopify CLI Store commands", - "sections": [] - }, - { - "category": "theme", - "title": "Shopify CLI Theme commands", - "sections": [] - } -] \ No newline at end of file diff --git a/docs-shopify.dev/generated/generated_docs_data.json b/docs-shopify.dev/generated/generated_docs_data.json deleted file mode 100644 index 847227501ff..00000000000 --- a/docs-shopify.dev/generated/generated_docs_data.json +++ /dev/null @@ -1,8466 +0,0 @@ -[ - { - "name": "app build", - "description": "This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](/docs/apps/tools/cli/configuration).\n\n If you're building a [theme app extension](/docs/apps/online-store/theme-app-extensions), then running the `build` command runs [Theme Check](/docs/themes/tools/theme-check) against your extension to ensure that it's valid.", - "overviewPreviewDescription": "Build the app, including extensions.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app build", - "code": "shopify app build [flags]", - "language": "bash" - } - ], - "title": "app build" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app build` command:", - "type": "appbuild", - "typeDefinitions": { - "appbuild": { - "filePath": "docs-shopify.dev/commands/interfaces/app-build.interface.ts", - "name": "appbuild", - "description": "The following flags are available for the `app build` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-build.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/app-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--skip-dependencies-installation", - "value": "''", - "description": "Skips the installation of dependencies. Deprecated, use workspaces instead.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-build.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/app-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appbuild {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Skips the installation of dependencies. Deprecated, use workspaces instead.\n * @environment SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION\n */\n '--skip-dependencies-installation'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app bulk cancel", - "description": "Cancels a running bulk operation by ID.", - "overviewPreviewDescription": "Cancel a bulk operation.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app bulk cancel", - "code": "shopify app bulk cancel [flags]", - "language": "bash" - } - ], - "title": "app bulk cancel" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app bulk cancel` command:", - "type": "appbulkcancel", - "typeDefinitions": { - "appbulkcancel": { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-cancel.interface.ts", - "name": "appbulkcancel", - "description": "The following flags are available for the `app bulk cancel` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-cancel.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-cancel.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--id ", - "value": "string", - "description": "The bulk operation ID to cancel (numeric ID or full GID).", - "environmentValue": "SHOPIFY_FLAG_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-cancel.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/app-bulk-cancel.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-cancel.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-cancel.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/app-bulk-cancel.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-cancel.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "The store domain. Must be an existing dev store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface appbulkcancel {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * The bulk operation ID to cancel (numeric ID or full GID).\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 path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * The store domain. Must be an existing dev 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}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app bulk execute", - "description": "Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores.\n\n Bulk operations allow you to process large amounts of data asynchronously. Learn more about [bulk query operations](/docs/api/usage/bulk-operations/queries) and [bulk mutation operations](/docs/api/usage/bulk-operations/imports).\n\n Use [`bulk status`](/docs/api/shopify-cli/app/app-bulk-status) to check the status of your bulk operations.", - "overviewPreviewDescription": "Execute bulk operations.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app bulk execute", - "code": "shopify app bulk execute [flags]", - "language": "bash" - } - ], - "title": "app bulk execute" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app bulk execute` command:", - "type": "appbulkexecute", - "typeDefinitions": { - "appbulkexecute": { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "name": "appbulkexecute", - "description": "The following flags are available for the `app bulk execute` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.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/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--output-file ", - "value": "string", - "description": "The file path where results should be written if --watch is specified. If not specified, results will be written to STDOUT.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_OUTPUT_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--query-file ", - "value": "string", - "description": "Path to a file containing the GraphQL query or mutation. Can't be used with --query.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_QUERY_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--variable-file ", - "value": "string", - "description": "Path to a file containing GraphQL variables in JSONL format (one JSON object per line). Can't be used with --variables.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VARIABLE_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.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/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--version ", - "value": "string", - "description": "The API version to use for the bulk operation. If not specified, uses the latest stable version.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VERSION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--watch", - "value": "''", - "description": "Wait for bulk operation results before exiting. Defaults to false.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_WATCH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-q, --query ", - "value": "string", - "description": "The GraphQL query or mutation to run as a bulk operation.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_QUERY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "The store domain. Must be an existing dev store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-v, --variables ", - "value": "string", - "description": "The values for any GraphQL variables in your mutation, in JSON format. Can be specified multiple times.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VARIABLES" - } - ], - "value": "export interface appbulkexecute {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The file path where results should be written if --watch is specified. If not specified, results will be written to STDOUT.\n * @environment SHOPIFY_FLAG_OUTPUT_FILE\n */\n '--output-file '?: string\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * The GraphQL query or mutation to run as a bulk operation.\n * @environment SHOPIFY_FLAG_QUERY\n */\n '-q, --query '?: string\n\n /**\n * Path to a file containing the GraphQL query or mutation. Can't be used with --query.\n * @environment SHOPIFY_FLAG_QUERY_FILE\n */\n '--query-file '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * The store domain. Must be an existing dev store.\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Path to a file containing GraphQL variables in JSONL format (one JSON object per line). Can't be used with --variables.\n * @environment SHOPIFY_FLAG_VARIABLE_FILE\n */\n '--variable-file '?: string\n\n /**\n * The values for any GraphQL variables in your mutation, in JSON format. Can be specified multiple times.\n * @environment SHOPIFY_FLAG_VARIABLES\n */\n '-v, --variables '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * The API version to use for the bulk operation. If not specified, uses the latest stable version.\n * @environment SHOPIFY_FLAG_VERSION\n */\n '--version '?: string\n\n /**\n * Wait for bulk operation results before exiting. Defaults to false.\n * @environment SHOPIFY_FLAG_WATCH\n */\n '--watch'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app bulk status", - "description": "Check the status of a specific bulk operation by ID, or list all bulk operations belonging to this app on this store in the last 7 days.\n\n Bulk operations allow you to process large amounts of data asynchronously. Learn more about [bulk query operations](/docs/api/usage/bulk-operations/queries) and [bulk mutation operations](/docs/api/usage/bulk-operations/imports).\n\n Use [`bulk execute`](/docs/api/shopify-cli/app/app-bulk-execute) to start a new bulk operation.", - "overviewPreviewDescription": "Check the status of bulk operations.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app bulk status", - "code": "shopify app bulk status [flags]", - "language": "bash" - } - ], - "title": "app bulk status" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app bulk status` command:", - "type": "appbulkstatus", - "typeDefinitions": { - "appbulkstatus": { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-status.interface.ts", - "name": "appbulkstatus", - "description": "The following flags are available for the `app bulk status` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-status.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-status.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--id ", - "value": "string", - "description": "The bulk operation ID (numeric ID or full GID). If not provided, lists all bulk operations belonging to this app on this store in the last 7 days.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-status.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/app-bulk-status.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-status.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-status.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/app-bulk-status.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-bulk-status.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "The store domain. Must be an existing dev store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface appbulkstatus {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * The bulk operation ID (numeric ID or full GID). If not provided, lists all bulk operations belonging to this app 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 path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * The store domain. Must be an existing dev 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}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app config link", - "description": "Pulls app configuration from the Developer Dashboard and creates or overwrites a configuration file. You can create a new app with this command to start with a default configuration file.\n\n For more information on the format of the created TOML configuration file, refer to the [App configuration](/docs/apps/tools/cli/configuration) page.\n ", - "overviewPreviewDescription": "Fetch your app configuration from the Developer Dashboard.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app config link", - "code": "shopify app config link [flags]", - "language": "bash" - } - ], - "title": "app config link" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app config link` command:", - "type": "appconfiglink", - "typeDefinitions": { - "appconfiglink": { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-link.interface.ts", - "name": "appconfiglink", - "description": "The following flags are available for the `app config link` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-link.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-link.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/app-config-link.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-link.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-link.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/app-config-link.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appconfiglink {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app config pull", - "description": "Pulls the latest configuration from the already-linked Shopify app and updates the selected configuration file.\n\nThis command reuses the existing linked app and organization and skips all interactive prompts. Use `--config` to target a specific configuration file, or omit it to use the default one.", - "overviewPreviewDescription": "Refresh an already-linked app configuration without prompts.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app config pull", - "code": "shopify app config pull [flags]", - "language": "bash" - } - ], - "title": "app config pull" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app config pull` command:", - "type": "appconfigpull", - "typeDefinitions": { - "appconfigpull": { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-pull.interface.ts", - "name": "appconfigpull", - "description": "The following flags are available for the `app config pull` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-pull.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/app-config-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-pull.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/app-config-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appconfigpull {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app config use", - "description": "Sets default configuration when you run app-related CLI commands. If you omit the `config-name` parameter, then you'll be prompted to choose from the configuration files in your project.", - "overviewPreviewDescription": "Activate an app configuration.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app config use", - "code": "shopify app config use [config] [flags]", - "language": "bash" - } - ], - "title": "app config use" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app config use` command:", - "type": "appconfiguse", - "typeDefinitions": { - "appconfiguse": { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-use.interface.ts", - "name": "appconfiguse", - "description": "The following flags are available for the `app config use` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-use.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-use.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/app-config-use.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-use.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-use.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--verbose", - "value": "''", - "description": "Increase the verbosity of the output.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VERBOSE" - } - ], - "value": "export interface appconfiguse {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app config validate", - "description": "Validates the selected app configuration file and all extension configurations against their schemas and reports any errors found.", - "overviewPreviewDescription": "Validate your app configuration and extensions.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app config validate", - "code": "shopify app config validate [flags]", - "language": "bash" - } - ], - "title": "app config validate" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app config validate` command:", - "type": "appconfigvalidate", - "typeDefinitions": { - "appconfigvalidate": { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-validate.interface.ts", - "name": "appconfigvalidate", - "description": "The following flags are available for the `app config validate` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-validate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-validate.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/app-config-validate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-validate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-validate.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/app-config-validate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-config-validate.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 appconfigvalidate {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: 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 * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app deploy", - "description": "[Builds the app](/docs/api/shopify-cli/app/app-build), then deploys your app configuration and extensions.\n\n This command creates an app version, which is a snapshot of your app configuration and all extensions. This version is then released to users.\n\n This command doesn't deploy your [web app](/docs/apps/tools/cli/structure#web-components). You need to [deploy your web app](/docs/apps/deployment/web) to your own hosting solution.\n ", - "overviewPreviewDescription": "Deploy your Shopify app.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app deploy", - "code": "shopify app deploy [flags]", - "language": "bash" - } - ], - "title": "app deploy" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app deploy` command:", - "type": "appdeploy", - "typeDefinitions": { - "appdeploy": { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "name": "appdeploy", - "description": "The following flags are available for the `app deploy` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--allow-deletes", - "value": "''", - "description": "Allows removing extensions and configuration without requiring user confirmation. For CI/CD environments, the recommended flag is --allow-updates.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ALLOW_DELETES" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--allow-updates", - "value": "''", - "description": "Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ALLOW_UPDATES" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--message ", - "value": "string", - "description": "Optional message that will be associated with this version. This is for internal use only and won't be available externally.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_MESSAGE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--no-build", - "value": "''", - "description": "Use with caution: Skips building any elements of the app that require building. You should ensure your app has been prepared in advance, such as by running `shopify app build` or by caching build artifacts.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NO_BUILD" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.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/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--no-release", - "value": "''", - "description": "Creates a version but doesn't release it - it's not made available to merchants. With this flag, a user confirmation is not required.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NO_RELEASE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--source-control-url ", - "value": "string", - "description": "URL associated with the new app version.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_SOURCE_CONTROL_URL" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.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/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--version ", - "value": "string", - "description": "Optional version tag that will be associated with this app version. If not provided, an auto-generated identifier will be generated for this app version.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VERSION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "[Deprecated] Deploy without asking for confirmation. Equivalent to --allow-updates --allow-deletes. Use --allow-updates for CI/CD environments instead.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_FORCE" - } - ], - "value": "export interface appdeploy {\n /**\n * Allows removing extensions and configuration without requiring user confirmation. For CI/CD environments, the recommended flag is --allow-updates.\n * @environment SHOPIFY_FLAG_ALLOW_DELETES\n */\n '--allow-deletes'?: ''\n\n /**\n * Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments.\n * @environment SHOPIFY_FLAG_ALLOW_UPDATES\n */\n '--allow-updates'?: ''\n\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * [Deprecated] Deploy without asking for confirmation. Equivalent to --allow-updates --allow-deletes. Use --allow-updates for CI/CD environments instead.\n * @environment SHOPIFY_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Optional message that will be associated with this version. This is for internal use only and won't be available externally.\n * @environment SHOPIFY_FLAG_MESSAGE\n */\n '--message '?: string\n\n /**\n * Use with caution: Skips building any elements of the app that require building. You should ensure your app has been prepared in advance, such as by running `shopify app build` or by caching build artifacts.\n * @environment SHOPIFY_FLAG_NO_BUILD\n */\n '--no-build'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Creates a version but doesn't release it - it's not made available to merchants. With this flag, a user confirmation is not required.\n * @environment SHOPIFY_FLAG_NO_RELEASE\n */\n '--no-release'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * URL associated with the new app version.\n * @environment SHOPIFY_FLAG_SOURCE_CONTROL_URL\n */\n '--source-control-url '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * Optional version tag that will be associated with this app version. If not provided, an auto-generated identifier will be generated for this app version.\n * @environment SHOPIFY_FLAG_VERSION\n */\n '--version '?: string\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app dev clean", - "description": "Stop the dev preview that was started with `shopify app dev`.\n\n It restores the app's active version to the selected development store.\n ", - "overviewPreviewDescription": "Cleans up the dev preview from the selected store.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app dev clean", - "code": "shopify app dev clean [flags]", - "language": "bash" - } - ], - "title": "app dev clean" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app dev clean` command:", - "type": "appdevclean", - "typeDefinitions": { - "appdevclean": { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev-clean.interface.ts", - "name": "appdevclean", - "description": "The following flags are available for the `app dev clean` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev-clean.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev-clean.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/app-dev-clean.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev-clean.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev-clean.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/app-dev-clean.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev-clean.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. Must be an existing development store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface appdevclean {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Store URL. Must be an existing development 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}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app dev", - "description": "Builds and previews your app on a dev store, and watches for changes. [Read more about testing apps locally](/docs/apps/build/cli-for-apps/test-apps-locally).", - "overviewPreviewDescription": "Run the app.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app dev", - "code": "shopify app dev [flags]", - "language": "bash" - } - ], - "title": "app dev" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app dev` command:", - "type": "appdev", - "typeDefinitions": { - "appdev": { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "name": "appdev", - "description": "The following flags are available for the `app dev` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--checkout-cart-url ", - "value": "string", - "description": "Resource URL for checkout UI extension. Format: \"/cart/{productVariantID}:{productQuantity}\"", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CHECKOUT_CART_URL" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--localhost-port ", - "value": "string", - "description": "Port to use for localhost.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LOCALHOST_PORT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-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/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--no-update", - "value": "''", - "description": "Uses the app URL from the toml file instead an autogenerated URL for dev.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NO_UPDATE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--notify ", - "value": "string", - "description": "The file path or URL. The file path is to a file that you want updated on idle. The URL path is where you want a webhook posted to report on file changes.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NOTIFY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--skip-dependencies-installation", - "value": "''", - "description": "Skips the installation of dependencies. Deprecated, use workspaces instead.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--subscription-product-url ", - "value": "string", - "description": "Resource URL for subscription UI extension. Format: \"/products/{productId}\"", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_SUBSCRIPTION_PRODUCT_URL" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--theme-app-extension-port ", - "value": "string", - "description": "Local port of the theme app extension development server.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_APP_EXTENSION_PORT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--tunnel-url ", - "value": "string", - "description": "Use a custom tunnel, it must be running before executing dev. Format: \"https://my-tunnel-url:port\".", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_TUNNEL_URL" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--use-localhost", - "value": "''", - "description": "Service entry point will listen to localhost. A tunnel won't be used. Will work for testing many app features, but not those that directly invoke your app (E.g: Webhooks)", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_USE_LOCALHOST" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.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/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. Must be an existing development or Shopify Plus sandbox store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the theme app extension host theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME" - } - ], - "value": "export interface appdev {\n /**\n * Resource URL for checkout UI extension. Format: \"/cart/{productVariantID}:{productQuantity}\"\n * @environment SHOPIFY_FLAG_CHECKOUT_CART_URL\n */\n '--checkout-cart-url '?: string\n\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Port to use for localhost.\n * @environment SHOPIFY_FLAG_LOCALHOST_PORT\n */\n '--localhost-port '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Uses the app URL from the toml file instead an autogenerated URL for dev.\n * @environment SHOPIFY_FLAG_NO_UPDATE\n */\n '--no-update'?: ''\n\n /**\n * The file path or URL. The file path is to a file that you want updated on idle. The URL path is where you want a webhook posted to report on file changes.\n * @environment SHOPIFY_FLAG_NOTIFY\n */\n '--notify '?: string\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Skips the installation of dependencies. Deprecated, use workspaces instead.\n * @environment SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION\n */\n '--skip-dependencies-installation'?: ''\n\n /**\n * Store URL. Must be an existing development or Shopify Plus sandbox store.\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Resource URL for subscription UI extension. Format: \"/products/{productId}\"\n * @environment SHOPIFY_FLAG_SUBSCRIPTION_PRODUCT_URL\n */\n '--subscription-product-url '?: string\n\n /**\n * Theme ID or name of the theme app extension host theme.\n * @environment SHOPIFY_FLAG_THEME\n */\n '-t, --theme '?: string\n\n /**\n * Local port of the theme app extension development server.\n * @environment SHOPIFY_FLAG_THEME_APP_EXTENSION_PORT\n */\n '--theme-app-extension-port '?: string\n\n /**\n * Use a custom tunnel, it must be running before executing dev. Format: \"https://my-tunnel-url:port\".\n * @environment SHOPIFY_FLAG_TUNNEL_URL\n */\n '--tunnel-url '?: string\n\n /**\n * Service entry point will listen to localhost. A tunnel won't be used. Will work for testing many app features, but not those that directly invoke your app (E.g: Webhooks)\n * @environment SHOPIFY_FLAG_USE_LOCALHOST\n */\n '--use-localhost'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app env pull", - "description": "Creates or updates an `.env` files that contains app and app extension environment variables.\n\n When an existing `.env` file is updated, changes to the variables are displayed in the terminal output. Existing variables and commented variables are preserved.", - "overviewPreviewDescription": "Pull app and extensions environment variables.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app env pull", - "code": "shopify app env pull [flags]", - "language": "bash" - } - ], - "title": "app env pull" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app env pull` command:", - "type": "appenvpull", - "typeDefinitions": { - "appenvpull": { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-pull.interface.ts", - "name": "appenvpull", - "description": "The following flags are available for the `app env pull` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-file ", - "value": "string", - "description": "Specify an environment file to update if the update flag is set", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENV_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-pull.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/app-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-pull.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/app-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appenvpull {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Specify an environment file to update if the update flag is set\n * @environment SHOPIFY_FLAG_ENV_FILE\n */\n '--env-file '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app env show", - "description": "Displays environment variables that can be used to deploy apps and app extensions.", - "overviewPreviewDescription": "Display app and extensions environment variables.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app env show", - "code": "shopify app env show [flags]", - "language": "bash" - } - ], - "title": "app env show" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app env show` command:", - "type": "appenvshow", - "typeDefinitions": { - "appenvshow": { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-show.interface.ts", - "name": "appenvshow", - "description": "The following flags are available for the `app env show` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-show.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-show.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/app-env-show.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-show.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-env-show.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/app-env-show.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appenvshow {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app execute", - "description": "Executes an Admin API GraphQL query or mutation on the specified store. Mutations are only allowed on dev stores.\n\n For operations that process large amounts of data, use [`bulk execute`](/docs/api/shopify-cli/app/app-bulk-execute) instead.", - "overviewPreviewDescription": "Execute GraphQL queries and mutations.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app execute", - "code": "shopify app execute [flags]", - "language": "bash" - } - ], - "title": "app execute" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app execute` command:", - "type": "appexecute", - "typeDefinitions": { - "appexecute": { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "name": "appexecute", - "description": "The following flags are available for the `app execute` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.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/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--output-file ", - "value": "string", - "description": "The file name where results should be written, instead of STDOUT.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_OUTPUT_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--query-file ", - "value": "string", - "description": "Path to a file containing the GraphQL query or mutation. Can't be used with --query.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_QUERY_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--variable-file ", - "value": "string", - "description": "Path to a file containing GraphQL variables in JSON format. Can't be used with --variables.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VARIABLE_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.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/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--version ", - "value": "string", - "description": "The API version to use for the query or mutation. Defaults to the latest stable version.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VERSION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-q, --query ", - "value": "string", - "description": "The GraphQL query or mutation, as a string.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_QUERY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "The myshopify.com domain of the store to execute against. The app must be installed on the store. If not specified, you will be prompted to select a store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-v, --variables ", - "value": "string", - "description": "The values for any GraphQL variables in your query or mutation, in JSON format.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VARIABLES" - } - ], - "value": "export interface appexecute {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The file name where results should be written, instead of STDOUT.\n * @environment SHOPIFY_FLAG_OUTPUT_FILE\n */\n '--output-file '?: string\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * The GraphQL query or mutation, as a string.\n * @environment SHOPIFY_FLAG_QUERY\n */\n '-q, --query '?: string\n\n /**\n * Path to a file containing the GraphQL query or mutation. Can't be used with --query.\n * @environment SHOPIFY_FLAG_QUERY_FILE\n */\n '--query-file '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * The myshopify.com domain of the store to execute against. The app must be installed on the store. If not specified, you will be prompted to select a store.\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Path to a file containing GraphQL variables in JSON format. Can't be used with --variables.\n * @environment SHOPIFY_FLAG_VARIABLE_FILE\n */\n '--variable-file '?: string\n\n /**\n * The values for any GraphQL variables in your query or mutation, in JSON format.\n * @environment SHOPIFY_FLAG_VARIABLES\n */\n '-v, --variables '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * The API version to use for the query or mutation. Defaults to the latest stable version.\n * @environment SHOPIFY_FLAG_VERSION\n */\n '--version '?: string\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app function build", - "description": "Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.", - "overviewPreviewDescription": "Compile a function to wasm.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app function build", - "code": "shopify app function build [flags]", - "language": "bash" - } - ], - "title": "app function build" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app function build` command:", - "type": "appfunctionbuild", - "typeDefinitions": { - "appfunctionbuild": { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-build.interface.ts", - "name": "appfunctionbuild", - "description": "The following flags are available for the `app function build` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-build.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/app-function-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your function directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-build.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/app-function-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appfunctionbuild {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your function directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app function info", - "description": "The information returned includes the following:\n\n - The function handle\n - The function name\n - The function API version\n - The targeting configuration\n - The schema path\n - The WASM path\n - The function runner path", - "overviewPreviewDescription": "Print basic information about your function.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app function info", - "code": "shopify app function info [flags]", - "language": "bash" - } - ], - "title": "app function info" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app function info` command:", - "type": "appfunctioninfo", - "typeDefinitions": { - "appfunctioninfo": { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-info.interface.ts", - "name": "appfunctioninfo", - "description": "The following flags are available for the `app function info` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-info.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/app-function-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your function directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-info.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/app-function-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-info.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 appfunctioninfo {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: 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 * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your function directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app function replay", - "description": "Runs the function from your current directory for [testing purposes](/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](/docs/api/functions/errors).", - "overviewPreviewDescription": "Replays a function run from an app log.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app function replay", - "code": "shopify app function replay [flags]", - "language": "bash" - } - ], - "title": "app function replay" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app function replay` command:", - "type": "appfunctionreplay", - "typeDefinitions": { - "appfunctionreplay": { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts", - "name": "appfunctionreplay", - "description": "The following flags are available for the `app function replay` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-replay.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/app-function-replay.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your function directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-replay.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/app-function-replay.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-replay.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/app-function-replay.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-l, --log ", - "value": "string", - "description": "Specifies a log identifier to replay instead of selecting from a list. The identifier is provided in the output of `shopify app dev` and is the suffix of the log file name.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LOG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-w, --watch", - "value": "''", - "description": "Re-run the function when the source code changes.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_WATCH" - } - ], - "value": "export interface appfunctionreplay {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: 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 * Specifies a log identifier to replay instead of selecting from a list. The identifier is provided in the output of `shopify app dev` and is the suffix of the log file name.\n * @environment SHOPIFY_FLAG_LOG\n */\n '-l, --log '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your function directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * Re-run the function when the source code changes.\n * @environment SHOPIFY_FLAG_WATCH\n */\n '-w, --watch'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app function run", - "description": "Runs the function from your current directory for [testing purposes](/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](/docs/api/functions/errors).", - "overviewPreviewDescription": "Run a function locally for testing.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app function run", - "code": "shopify app function run [flags]", - "language": "bash" - } - ], - "title": "app function run" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app function run` command:", - "type": "appfunctionrun", - "typeDefinitions": { - "appfunctionrun": { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-run.interface.ts", - "name": "appfunctionrun", - "description": "The following flags are available for the `app function run` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-run.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-run.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/app-function-run.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your function directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-run.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-run.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/app-function-run.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-run.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --export ", - "value": "string", - "description": "Name of the WebAssembly export to invoke.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_EXPORT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-run.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-i, --input ", - "value": "string", - "description": "The input JSON to pass to the function. If omitted, standard input is used.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_INPUT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-run.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 appfunctionrun {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Name of the WebAssembly export to invoke.\n * @environment SHOPIFY_FLAG_EXPORT\n */\n '-e, --export '?: string\n\n /**\n * The input JSON to pass to the function. If omitted, standard input is used.\n * @environment SHOPIFY_FLAG_INPUT\n */\n '-i, --input '?: 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 * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your function directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app function schema", - "description": "Generates the latest [GraphQL schema](/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.", - "overviewPreviewDescription": "Fetch the latest GraphQL schema for a function.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app function schema", - "code": "shopify app function schema [flags]", - "language": "bash" - } - ], - "title": "app function schema" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app function schema` command:", - "type": "appfunctionschema", - "typeDefinitions": { - "appfunctionschema": { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-schema.interface.ts", - "name": "appfunctionschema", - "description": "The following flags are available for the `app function schema` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-schema.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-schema.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/app-function-schema.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your function directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-schema.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-schema.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--stdout", - "value": "''", - "description": "Output the schema to stdout instead of writing to a file.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STDOUT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-schema.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/app-function-schema.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appfunctionschema {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your function directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Output the schema to stdout instead of writing to a file.\n * @environment SHOPIFY_FLAG_STDOUT\n */\n '--stdout'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app function typegen", - "description": "Creates GraphQL types based on your [input query](/docs/apps/functions/input-output#input) for a function. Supports JavaScript functions out of the box, or any language via the `build.typegen_command` configuration.", - "overviewPreviewDescription": "Generate GraphQL types for a function.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app function typegen", - "code": "shopify app function typegen [flags]", - "language": "bash" - } - ], - "title": "app function typegen" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app function typegen` command:", - "type": "appfunctiontypegen", - "typeDefinitions": { - "appfunctiontypegen": { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-typegen.interface.ts", - "name": "appfunctiontypegen", - "description": "The following flags are available for the `app function typegen` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-typegen.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-typegen.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/app-function-typegen.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your function directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-typegen.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-function-typegen.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/app-function-typegen.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appfunctiontypegen {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your function directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app generate extension", - "description": "Generates a new [app extension](/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](/docs/apps/build/app-extensions/list-of-app-extensions).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to [App structure](/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension.\n ", - "overviewPreviewDescription": "Generate a new app Extension.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app generate extension", - "code": "shopify app generate extension [flags]", - "language": "bash" - } - ], - "title": "app generate extension" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app generate extension` command:", - "type": "appgenerateextension", - "typeDefinitions": { - "appgenerateextension": { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.interface.ts", - "name": "appgenerateextension", - "description": "The following flags are available for the `app generate extension` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--flavor ", - "value": "string", - "description": "Choose a starting template for your extension, where applicable", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_FLAVOR" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.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/app-generate-extension.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.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/app-generate-extension.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-n, --name ", - "value": "string", - "description": "name of your Extension", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NAME" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --template ", - "value": "string", - "description": "Extension template", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_EXTENSION_TEMPLATE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-generate-extension.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --type ", - "value": "string", - "description": "Deprecated. Please use --template", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_EXTENSION_TYPE" - } - ], - "value": "export interface appgenerateextension {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Choose a starting template for your extension, where applicable\n * @environment SHOPIFY_FLAG_FLAVOR\n */\n '--flavor '?: string\n\n /**\n * name of your Extension\n * @environment SHOPIFY_FLAG_NAME\n */\n '-n, --name '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Extension template\n * @environment SHOPIFY_FLAG_EXTENSION_TEMPLATE\n */\n '-t, --template '?: string\n\n /**\n * Deprecated. Please use --template\n * @environment SHOPIFY_FLAG_EXTENSION_TYPE\n */\n '-t, --type '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app import-custom-data-definitions", - "description": "Import metafield and metaobject definitions from your development store. [Read more about declarative custom data definitions](/docs/apps/build/custom-data/declarative-custom-data-definitions).", - "overviewPreviewDescription": "Import metafield and metaobject definitions.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app import-custom-data-definitions", - "code": "shopify app import-custom-data-definitions [flags]", - "language": "bash" - } - ], - "title": "app import-custom-data-definitions" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app import-custom-data-definitions` command:", - "type": "appimportcustomdatadefinitions", - "typeDefinitions": { - "appimportcustomdatadefinitions": { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-custom-data-definitions.interface.ts", - "name": "appimportcustomdatadefinitions", - "description": "The following flags are available for the `app import-custom-data-definitions` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-custom-data-definitions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-custom-data-definitions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--include-existing", - "value": "''", - "description": "Include existing declared definitions in the output.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_INCLUDE_EXISTING" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-custom-data-definitions.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/app-import-custom-data-definitions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-custom-data-definitions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-custom-data-definitions.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/app-import-custom-data-definitions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-custom-data-definitions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. Must be an existing development or Shopify Plus sandbox store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface appimportcustomdatadefinitions {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Include existing declared definitions in the output.\n * @environment SHOPIFY_FLAG_INCLUDE_EXISTING\n */\n '--include-existing'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Store URL. Must be an existing development or Shopify Plus sandbox 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}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app import-extensions", - "description": "Import dashboard-managed extensions into your app.", - "overviewPreviewDescription": "Import dashboard-managed extensions into your app.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app import-extensions", - "code": "shopify app import-extensions [flags]", - "language": "bash" - } - ], - "title": "app import-extensions" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app import-extensions` command:", - "type": "appimportextensions", - "typeDefinitions": { - "appimportextensions": { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-extensions.interface.ts", - "name": "appimportextensions", - "description": "The following flags are available for the `app import-extensions` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-extensions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-extensions.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/app-import-extensions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-extensions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-import-extensions.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/app-import-extensions.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appimportextensions {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app info", - "description": "The information returned includes the following:\n\n - The app and dev store that's used when you run the [dev](/docs/api/shopify-cli/app/app-dev) command. You can reset these configurations using [`dev --reset`](/docs/api/shopify-cli/app/app-dev#flags-propertydetail-reset).\n - The [structure](/docs/apps/tools/cli/structure) of your app project.\n - The [access scopes](/docs/api/usage) your app has requested.\n - System information, including the package manager and version of Shopify CLI used in the project.", - "overviewPreviewDescription": "Print basic information about your app and extensions.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app info", - "code": "shopify app info [flags]", - "language": "bash" - } - ], - "title": "app info" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app info` command:", - "type": "appinfo", - "typeDefinitions": { - "appinfo": { - "filePath": "docs-shopify.dev/commands/interfaces/app-info.interface.ts", - "name": "appinfo", - "description": "The following flags are available for the `app info` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-info.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/app-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-info.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/app-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--web-env", - "value": "''", - "description": "Outputs environment variables necessary for running and deploying web/.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_OUTPUT_WEB_ENV" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-info.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 appinfo {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: 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 * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * Outputs environment variables necessary for running and deploying web/.\n * @environment SHOPIFY_FLAG_OUTPUT_WEB_ENV\n */\n '--web-env'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app init", - "description": "Create a new app project", - "overviewPreviewDescription": "Create a new app project", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app init", - "code": "shopify app init [flags]", - "language": "bash" - } - ], - "title": "app init" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app init` command:", - "type": "appinit", - "typeDefinitions": { - "appinit": { - "filePath": "docs-shopify.dev/commands/interfaces/app-init.interface.ts", - "name": "appinit", - "description": "The following flags are available for the `app init` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--flavor ", - "value": "string", - "description": "Which flavor of the given template to use.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_TEMPLATE_FLAVOR" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-init.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/app-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--organization-id ", - "value": "string", - "description": "The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ORGANIZATION_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--template ", - "value": "string", - "description": "The app template. Accepts one of the following: - \n - Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify//[subpath]#[branch]", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_TEMPLATE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-init.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/app-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-d, --package-manager ", - "value": "string", - "description": "", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PACKAGE_MANAGER" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-n, --name ", - "value": "string", - "description": "The name for the new app. When provided, skips the app selection prompt and creates a new app with this name.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NAME" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-p, --path ", - "value": "string", - "description": "", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - } - ], - "value": "export interface appinit {\n /**\n * The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * Which flavor of the given template to use.\n * @environment SHOPIFY_FLAG_TEMPLATE_FLAVOR\n */\n '--flavor '?: string\n\n /**\n * The name for the new app. When provided, skips the app selection prompt and creates a new app with this name.\n * @environment SHOPIFY_FLAG_NAME\n */\n '-n, --name '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/\n * @environment SHOPIFY_FLAG_ORGANIZATION_ID\n */\n '--organization-id '?: string\n\n /**\n * \n * @environment SHOPIFY_FLAG_PACKAGE_MANAGER\n */\n '-d, --package-manager '?: string\n\n /**\n * \n * @environment SHOPIFY_FLAG_PATH\n */\n '-p, --path '?: string\n\n /**\n * The app template. Accepts one of the following:\n - \n - Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify//[subpath]#[branch]\n * @environment SHOPIFY_FLAG_TEMPLATE\n */\n '--template '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app logs sources", - "description": "The output source names can be used with the `--source` argument of `shopify app logs` to filter log output. Currently only function extensions are supported as sources.", - "overviewPreviewDescription": "Print out a list of sources that may be used with the logs command.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app logs sources", - "code": "shopify app logs sources [flags]", - "language": "bash" - } - ], - "title": "app logs sources" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app logs sources` command:", - "type": "applogssources", - "typeDefinitions": { - "applogssources": { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs-sources.interface.ts", - "name": "applogssources", - "description": "The following flags are available for the `app logs sources` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs-sources.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs-sources.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/app-logs-sources.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs-sources.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs-sources.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/app-logs-sources.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface applogssources {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app logs", - "description": "\n Opens a real-time stream of detailed app logs from the selected app and store.\n Use the `--source` argument to limit output to a particular log source, such as a specific Shopify Function handle. Use the `shopify app logs sources` command to view a list of sources.\n Use the `--status` argument to filter on status, either `success` or `failure`.\n ```\n shopify app logs --status=success --source=extension.discount-function\n ```\n ", - "overviewPreviewDescription": "Stream detailed logs for your Shopify app.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app logs", - "code": "shopify app logs [flags]", - "language": "bash" - } - ], - "title": "app logs" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app logs` command:", - "type": "applogs", - "typeDefinitions": { - "applogs": { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs.interface.ts", - "name": "applogs", - "description": "The following flags are available for the `app logs` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs.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/app-logs.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--source ", - "value": "string", - "description": "Filters output to the specified log source.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_SOURCE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--status ", - "value": "string", - "description": "Filters output to the specified status (success or failure).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STATUS" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs.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/app-logs.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-logs.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/app-logs.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. Must be an existing development or Shopify Plus sandbox store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface applogs {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: 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 * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Filters output to the specified log source.\n * @environment SHOPIFY_FLAG_SOURCE\n */\n '--source '?: string\n\n /**\n * Filters output to the specified status (success or failure).\n * @environment SHOPIFY_FLAG_STATUS\n */\n '--status '?: string\n\n /**\n * Store URL. Must be an existing development or Shopify Plus sandbox 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}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app release", - "description": "Releases an existing app version. Pass the name of the version that you want to release using the `--version` flag.", - "overviewPreviewDescription": "Release an app version.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app release", - "code": "shopify app release --version <version>", - "language": "bash" - } - ], - "title": "app release" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app release` command:", - "type": "apprelease", - "typeDefinitions": { - "apprelease": { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.interface.ts", - "name": "apprelease", - "description": "The following flags are available for the `app release` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--allow-deletes", - "value": "''", - "description": "Allows removing extensions and configuration without requiring user confirmation. For CI/CD environments, the recommended flag is --allow-updates.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ALLOW_DELETES" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--allow-updates", - "value": "''", - "description": "Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ALLOW_UPDATES" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.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/app-release.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.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/app-release.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--version ", - "value": "string", - "description": "The name of the app version to release.", - "environmentValue": "SHOPIFY_FLAG_VERSION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-release.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "[Deprecated] Release without asking for confirmation. Equivalent to --allow-updates --allow-deletes. Use --allow-updates for CI/CD environments instead.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_FORCE" - } - ], - "value": "export interface apprelease {\n /**\n * Allows removing extensions and configuration without requiring user confirmation. For CI/CD environments, the recommended flag is --allow-updates.\n * @environment SHOPIFY_FLAG_ALLOW_DELETES\n */\n '--allow-deletes'?: ''\n\n /**\n * Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments.\n * @environment SHOPIFY_FLAG_ALLOW_UPDATES\n */\n '--allow-updates'?: ''\n\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * [Deprecated] Release without asking for confirmation. Equivalent to --allow-updates --allow-deletes. Use --allow-updates for CI/CD environments instead.\n * @environment SHOPIFY_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * The name of the app version to release.\n * @environment SHOPIFY_FLAG_VERSION\n */\n '--version ': string\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app versions list", - "description": "Lists the deployed app versions. An app version is a snapshot of your app extensions.", - "overviewPreviewDescription": "List deployed versions of your app.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app versions list", - "code": "shopify app versions list [flags]", - "language": "bash" - } - ], - "title": "app versions list" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app versions list` command:", - "type": "appversionslist", - "typeDefinitions": { - "appversionslist": { - "filePath": "docs-shopify.dev/commands/interfaces/app-versions-list.interface.ts", - "name": "appversionslist", - "description": "The following flags are available for the `app versions list` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-versions-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-versions-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/app-versions-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-versions-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-versions-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/app-versions-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-versions-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 appversionslist {\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: 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 * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "app webhook trigger", - "description": "\n Triggers the delivery of a sample Admin API event topic payload to a designated address.\n\n You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify.\n\n Because most webhook deliveries use remote endpoints, you can trigger the command from any directory where you can use Shopify CLI, and send the webhook to any of the supported endpoint types. For example, you can run the command from your app's local directory, but send the webhook to a staging environment endpoint.\n\n To learn more about using webhooks in a Shopify app, refer to [Webhooks overview](/docs/apps/webhooks).\n\n ### Limitations\n\n - Webhooks triggered using this method always have the same payload, so they can't be used to test scenarios that differ based on the payload contents.\n - Webhooks triggered using this method aren't retried when they fail.\n - Trigger requests are rate-limited using the [Partner API rate limit](/docs/api/partner#rate_limits).\n - You can't use this method to validate your API webhook subscriptions.\n ", - "overviewPreviewDescription": "Trigger delivery of a sample webhook topic payload to a designated address.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "app webhook trigger", - "code": "shopify app webhook trigger [flags]", - "language": "bash" - } - ], - "title": "app webhook trigger" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `app webhook trigger` command:", - "type": "appwebhooktrigger", - "typeDefinitions": { - "appwebhooktrigger": { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "name": "appwebhooktrigger", - "description": "The following flags are available for the `app webhook trigger` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--address ", - "value": "string", - "description": "The URL where the webhook payload should be sent. You will need a different address type for each delivery-method:\n · For remote HTTP testing, use a URL that starts with https://\n · For local HTTP testing, use http://localhost:{port}/{url-path}\n · For Google Pub/Sub, use pubsub://{project-id}:{topic-id}\n · For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ADDRESS" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--api-version ", - "value": "string", - "description": "The API Version of the webhook topic.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_API_VERSION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-id ", - "value": "string", - "description": "The Client ID of your app.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--client-secret ", - "value": "string", - "description": "Your app's client secret. This secret allows us to return the X-Shopify-Hmac-SHA256 header that lets you validate the origin of the response that you receive.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLIENT_SECRET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--delivery-method ", - "value": "string", - "description": "Method chosen to deliver the topic payload. If not passed, it's inferred from the address.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_DELIVERY_METHOD" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--help", - "value": "''", - "description": "This help. When you run the trigger command the CLI will prompt you for any information that isn't passed using flags.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_HELP" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to your app directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--reset", - "value": "''", - "description": "Reset all your settings.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_RESET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--shared-secret ", - "value": "string", - "description": "Deprecated. Please use client-secret.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_SHARED_SECRET" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--topic ", - "value": "string", - "description": "The requested webhook topic.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_TOPIC" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --config ", - "value": "string", - "description": "The name of the app configuration.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" - } - ], - "value": "export interface appwebhooktrigger {\n /**\n * The URL where the webhook payload should be sent.\n You will need a different address type for each delivery-method:\n · For remote HTTP testing, use a URL that starts with https://\n · For local HTTP testing, use http://localhost:{port}/{url-path}\n · For Google Pub/Sub, use pubsub://{project-id}:{topic-id}\n · For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:\n * @environment SHOPIFY_FLAG_ADDRESS\n */\n '--address '?: string\n\n /**\n * The API Version of the webhook topic.\n * @environment SHOPIFY_FLAG_API_VERSION\n */\n '--api-version '?: string\n\n /**\n * The Client ID of your app.\n * @environment SHOPIFY_FLAG_CLIENT_ID\n */\n '--client-id '?: string\n\n /**\n * Your app's client secret. This secret allows us to return the X-Shopify-Hmac-SHA256 header that lets you validate the origin of the response that you receive.\n * @environment SHOPIFY_FLAG_CLIENT_SECRET\n */\n '--client-secret '?: string\n\n /**\n * The name of the app configuration.\n * @environment SHOPIFY_FLAG_APP_CONFIG\n */\n '-c, --config '?: string\n\n /**\n * Method chosen to deliver the topic payload. If not passed, it's inferred from the address.\n * @environment SHOPIFY_FLAG_DELIVERY_METHOD\n */\n '--delivery-method '?: string\n\n /**\n * This help. When you run the trigger command the CLI will prompt you for any information that isn't passed using flags.\n * @environment SHOPIFY_FLAG_HELP\n */\n '--help'?: ''\n\n /**\n * The path to your app directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Reset all your settings.\n * @environment SHOPIFY_FLAG_RESET\n */\n '--reset'?: ''\n\n /**\n * Deprecated. Please use client-secret.\n * @environment SHOPIFY_FLAG_SHARED_SECRET\n */\n '--shared-secret '?: string\n\n /**\n * The requested webhook topic.\n * @environment SHOPIFY_FLAG_TOPIC\n */\n '--topic '?: string\n}" - } - } - } - ], - "category": "app", - "related": [] - }, - { - "name": "auth login", - "description": "Logs you in to your Shopify account.", - "overviewPreviewDescription": "Logs you in to your Shopify account.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "auth login", - "code": "shopify auth login [flags]", - "language": "bash" - } - ], - "title": "auth login" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `auth login` command:", - "type": "authlogin", - "typeDefinitions": { - "authlogin": { - "filePath": "docs-shopify.dev/commands/interfaces/auth-login.interface.ts", - "name": "authlogin", - "description": "The following flags are available for the `auth login` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/auth-login.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--alias ", - "value": "string", - "description": "Alias of the session you want to login to.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_AUTH_ALIAS" - } - ], - "value": "export interface authlogin {\n /**\n * Alias of the session you want to login to.\n * @environment SHOPIFY_FLAG_AUTH_ALIAS\n */\n '--alias '?: string\n}" - } - } - } - ], - "category": "general commands", - "related": [] - }, - { - "name": "auth logout", - "description": "Logs you out of the Shopify account or Partner account and store.", - "overviewPreviewDescription": "Logs you out of the Shopify account or Partner account and store.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "auth logout", - "code": "shopify auth logout", - "language": "bash" - } - ], - "title": "auth logout" - } - }, - "definitions": [], - "category": "general commands", - "related": [] - }, - { - "name": "commands", - "description": "List all shopify commands.", - "overviewPreviewDescription": "List all shopify commands.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "commands", - "code": "shopify commands [flags]", - "language": "bash" - } - ], - "title": "commands" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `commands` command:", - "type": "commands", - "typeDefinitions": { - "commands": { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "name": "commands", - "description": "The following flags are available for the `commands` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--deprecated", - "value": "''", - "description": "Show deprecated commands.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--hidden", - "value": "''", - "description": "Show hidden commands.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--json", - "value": "''", - "description": "Format output as json.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--no-truncate", - "value": "''", - "description": "Do not truncate output.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--sort ", - "value": "string", - "description": "Property to sort by.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--tree", - "value": "''", - "description": "Show tree of commands.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --columns ", - "value": "string", - "description": "Only show provided columns (comma-separated).", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/commands.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-x, --extended", - "value": "''", - "description": "Show extra columns.", - "isOptional": true - } - ], - "value": "export interface commands {\n /**\n * Only show provided columns (comma-separated).\n *\n */\n '-c, --columns '?: string\n\n /**\n * Show deprecated commands.\n *\n */\n '--deprecated'?: ''\n\n /**\n * Show extra columns.\n *\n */\n '-x, --extended'?: ''\n\n /**\n * Show hidden commands.\n *\n */\n '--hidden'?: ''\n\n /**\n * Format output as json.\n *\n */\n '--json'?: ''\n\n /**\n * Do not truncate output.\n *\n */\n '--no-truncate'?: ''\n\n /**\n * Property to sort by.\n *\n */\n '--sort '?: string\n\n /**\n * Show tree of commands.\n *\n */\n '--tree'?: ''\n}" - } - } - } - ], - "category": "general commands", - "related": [] - }, - { - "name": "config autocorrect off", - "description": "Disable autocorrect. Off by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n", - "overviewPreviewDescription": "Disable autocorrect. Off by default.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "config autocorrect off", - "code": "shopify config autocorrect off", - "language": "bash" - } - ], - "title": "config autocorrect off" - } - }, - "definitions": [], - "category": "general commands", - "related": [] - }, - { - "name": "config autocorrect on", - "description": "Enable autocorrect. Off by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n", - "overviewPreviewDescription": "Enable autocorrect. Off by default.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "config autocorrect on", - "code": "shopify config autocorrect on", - "language": "bash" - } - ], - "title": "config autocorrect on" - } - }, - "definitions": [], - "category": "general commands", - "related": [] - }, - { - "name": "config autocorrect status", - "description": "Check whether autocorrect is enabled or disabled. On by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n", - "overviewPreviewDescription": "Check whether autocorrect is enabled or disabled. On by default.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "config autocorrect status", - "code": "shopify config autocorrect status", - "language": "bash" - } - ], - "title": "config autocorrect status" - } - }, - "definitions": [], - "category": "general commands", - "related": [] - }, - { - "name": "help", - "description": "Display help for Shopify CLI", - "overviewPreviewDescription": "Display help for Shopify CLI", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "help", - "code": "shopify help [command] [flags]", - "language": "bash" - } - ], - "title": "help" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `help` command:", - "type": "help", - "typeDefinitions": { - "help": { - "filePath": "docs-shopify.dev/commands/interfaces/help.interface.ts", - "name": "help", - "description": "The following flags are available for the `help` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/help.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-n, --nested-commands", - "value": "''", - "description": "Include all nested commands in the output.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLI_NESTED_COMMANDS" - } - ], - "value": "export interface help {\n /**\n * Include all nested commands in the output.\n * @environment SHOPIFY_FLAG_CLI_NESTED_COMMANDS\n */\n '-n, --nested-commands'?: ''\n}" - } - } - } - ], - "category": "general commands", - "related": [] - }, - { - "name": "hydrogen build", - "description": "Builds a Hydrogen storefront for production. The client and app worker files are compiled to a `/dist` folder in your Hydrogen project directory.", - "overviewPreviewDescription": "Builds a Hydrogen storefront for production. The client and app worker files are compiled to a `/dist` folder in your Hydrogen project directory.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen build", - "code": "shopify hydrogen build [flags]", - "language": "bash" - } - ], - "title": "hydrogen build" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen build` command:", - "type": "hydrogenbuild", - "typeDefinitions": { - "hydrogenbuild": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "name": "hydrogenbuild", - "description": "The following flags are available for the `hydrogen build` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--bundle-stats", - "value": "''", - "description": "Show a bundle size summary after building. Defaults to true, use `--no-bundle-stats` to disable.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--codegen", - "value": "''", - "description": "Automatically generates GraphQL types for your project’s Storefront API queries.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--codegen-config-path ", - "value": "string", - "description": "Specifies a path to a codegen configuration file. Defaults to `/codegen.ts` if this file exists.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--disable-route-warning", - "value": "''", - "description": "Disables any warnings about missing standard routes.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_DISABLE_ROUTE_WARNING" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--entry ", - "value": "string", - "description": "Entry file for the worker. Defaults to `./server`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ENTRY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--force-client-sourcemap", - "value": "''", - "description": "Client sourcemapping is avoided by default because it makes backend code visible in the browser. Use this flag to force enabling it.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE_CLIENT_SOURCEMAP" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--lockfile-check", - "value": "''", - "description": "Checks that there is exactly one valid lockfile in the project. Defaults to `true`. Deactivate with `--no-lockfile-check`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_LOCKFILE_CHECK" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--sourcemap", - "value": "''", - "description": "Controls whether server sourcemaps are generated. Default to `true`. Deactivate `--no-sourcemaps`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_SOURCEMAP" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-build.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--watch", - "value": "''", - "description": "Watches for changes and rebuilds the project writing output to disk.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_WATCH" - } - ], - "value": "export interface hydrogenbuild {\n /**\n * Show a bundle size summary after building. Defaults to true, use `--no-bundle-stats` to disable.\n *\n */\n '--bundle-stats'?: ''\n\n /**\n * Automatically generates GraphQL types for your project’s Storefront API queries.\n *\n */\n '--codegen'?: ''\n\n /**\n * Specifies a path to a codegen configuration file. Defaults to `/codegen.ts` if this file exists.\n *\n */\n '--codegen-config-path '?: string\n\n /**\n * Disables any warnings about missing standard routes.\n * @environment SHOPIFY_HYDROGEN_FLAG_DISABLE_ROUTE_WARNING\n */\n '--disable-route-warning'?: ''\n\n /**\n * Entry file for the worker. Defaults to `./server`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ENTRY\n */\n '--entry '?: string\n\n /**\n * Client sourcemapping is avoided by default because it makes backend code visible in the browser. Use this flag to force enabling it.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE_CLIENT_SOURCEMAP\n */\n '--force-client-sourcemap'?: ''\n\n /**\n * Checks that there is exactly one valid lockfile in the project. Defaults to `true`. Deactivate with `--no-lockfile-check`.\n * @environment SHOPIFY_HYDROGEN_FLAG_LOCKFILE_CHECK\n */\n '--lockfile-check'?: ''\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Controls whether server sourcemaps are generated. Default to `true`. Deactivate `--no-sourcemaps`.\n * @environment SHOPIFY_HYDROGEN_FLAG_SOURCEMAP\n */\n '--sourcemap'?: ''\n\n /**\n * Watches for changes and rebuilds the project writing output to disk.\n * @environment SHOPIFY_HYDROGEN_FLAG_WATCH\n */\n '--watch'?: ''\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen check", - "description": "Checks whether your Hydrogen app includes a set of standard Shopify routes.", - "overviewPreviewDescription": "Checks whether your Hydrogen app includes a set of standard Shopify routes.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen check", - "code": "shopify hydrogen check [flags]", - "language": "bash" - } - ], - "title": "hydrogen check" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen check` command:", - "type": "hydrogencheck", - "typeDefinitions": { - "hydrogencheck": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-check.interface.ts", - "name": "hydrogencheck", - "description": "The following flags are available for the `hydrogen check` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogencheck {\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen codegen", - "description": "Automatically generates GraphQL types for your project’s Storefront API queries.", - "overviewPreviewDescription": "Automatically generates GraphQL types for your project’s Storefront API queries.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen codegen", - "code": "shopify hydrogen codegen [flags]", - "language": "bash" - } - ], - "title": "hydrogen codegen" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen codegen` command:", - "type": "hydrogencodegen", - "typeDefinitions": { - "hydrogencodegen": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-codegen.interface.ts", - "name": "hydrogencodegen", - "description": "The following flags are available for the `hydrogen codegen` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-codegen.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--codegen-config-path ", - "value": "string", - "description": "Specify a path to a codegen configuration file. Defaults to `/codegen.ts` if it exists.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-codegen.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-codegen.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--watch", - "value": "''", - "description": "Watch the project for changes to update types on file save.", - "isOptional": true - } - ], - "value": "export interface hydrogencodegen {\n /**\n * Specify a path to a codegen configuration file. Defaults to `/codegen.ts` if it exists.\n *\n */\n '--codegen-config-path '?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Watch the project for changes to update types on file save.\n *\n */\n '--watch'?: ''\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen customer-account-push", - "description": "Push project configuration to admin", - "overviewPreviewDescription": "Push project configuration to admin", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen customer-account-push", - "code": "shopify hydrogen customer-account-push [flags]", - "language": "bash" - } - ], - "title": "hydrogen customer-account-push" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen customer-account-push` command:", - "type": "hydrogencustomeraccountpush", - "typeDefinitions": { - "hydrogencustomeraccountpush": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts", - "name": "hydrogencustomeraccountpush", - "description": "The following flags are available for the `hydrogen customer-account-push` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--dev-origin ", - "value": "string", - "description": "The development domain of your application." - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--relative-logout-uri ", - "value": "string", - "description": "The relative url of allowed url that will be redirected to post-logout for Customer Account API OAuth flow. Default to nothing.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--relative-redirect-uri ", - "value": "string", - "description": "The relative url of allowed callback url for Customer Account API OAuth flow. Default is '/account/authorize'", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--storefront-id ", - "value": "string", - "description": "The id of the storefront the configuration should be pushed to. Must start with 'gid://shopify/HydrogenStorefront/'", - "isOptional": true - } - ], - "value": "export interface hydrogencustomeraccountpush {\n /**\n * The development domain of your application.\n *\n */\n '--dev-origin ': string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * The relative url of allowed url that will be redirected to post-logout for Customer Account API OAuth flow. Default to nothing.\n *\n */\n '--relative-logout-uri '?: string\n\n /**\n * The relative url of allowed callback url for Customer Account API OAuth flow. Default is '/account/authorize'\n *\n */\n '--relative-redirect-uri '?: string\n\n /**\n * The id of the storefront the configuration should be pushed to. Must start with 'gid://shopify/HydrogenStorefront/'\n *\n */\n '--storefront-id '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen debug cpu", - "description": "Builds the app and runs the resulting code to profile the server startup time, watching for changes. This command can be used to [debug slow app startup times](/docs/custom-storefronts/hydrogen/debugging/cpu-startup) that cause failed deployments in Oxygen.\n\n The profiling results are written to a `.cpuprofile` file that can be viewed with certain tools such as [Flame Chart Visualizer for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-js-profile-flame).", - "overviewPreviewDescription": "Builds the app and runs the resulting code to profile the server startup time, watching for changes. This command can be used to [debug slow app startup times](/docs/custom-storefronts/hydrogen/debugging/cpu-startup) that cause failed deployments in Oxygen.\n\n The profiling results are written to a `.cpuprofile` file that can be viewed with certain tools such as [Flame Chart Visualizer for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-js-profile-flame).", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen debug cpu", - "code": "shopify hydrogen debug cpu [flags]", - "language": "bash" - } - ], - "title": "hydrogen debug cpu" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen debug cpu` command:", - "type": "hydrogendebugcpu", - "typeDefinitions": { - "hydrogendebugcpu": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-debug-cpu.interface.ts", - "name": "hydrogendebugcpu", - "description": "The following flags are available for the `hydrogen debug cpu` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-debug-cpu.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--entry ", - "value": "string", - "description": "Entry file for the worker. Defaults to `./server`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ENTRY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-debug-cpu.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--output ", - "value": "string", - "description": "Specify a path to generate the profile file. Defaults to \"startup.cpuprofile\".", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-debug-cpu.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogendebugcpu {\n /**\n * Entry file for the worker. Defaults to `./server`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ENTRY\n */\n '--entry '?: string\n\n /**\n * Specify a path to generate the profile file. Defaults to \"startup.cpuprofile\".\n *\n */\n '--output '?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen deploy", - "description": "Builds and deploys your Hydrogen storefront to Oxygen. Requires an Oxygen deployment token to be set with the `--token` flag or an environment variable (`SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN`). If the storefront is [linked](/docs/api/shopify-cli/hydrogen/hydrogen-link) then the Oxygen deployment token for the linked storefront will be used automatically.", - "overviewPreviewDescription": "Builds and deploys your Hydrogen storefront to Oxygen. Requires an Oxygen deployment token to be set with the `--token` flag or an environment variable (`SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN`). If the storefront is [linked](/docs/api/shopify-cli/hydrogen/hydrogen-link) then the Oxygen deployment token for the linked storefront will be used automatically.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen deploy", - "code": "shopify hydrogen deploy [flags]", - "language": "bash" - } - ], - "title": "hydrogen deploy" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen deploy` command:", - "type": "hydrogendeploy", - "typeDefinitions": { - "hydrogendeploy": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "name": "hydrogendeploy", - "description": "The following flags are available for the `hydrogen deploy` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--auth-bypass-token", - "value": "''", - "description": "Generate an authentication bypass token, which can be used to perform end-to-end tests against the deployment.", - "isOptional": true, - "environmentValue": "AUTH_BYPASS_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--auth-bypass-token-duration ", - "value": "string", - "description": "Specify the duration (in hours) up to 12 hours for the authentication bypass token. Defaults to `2`", - "isOptional": true, - "environmentValue": "AUTH_BYPASS_TOKEN_DURATION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--build-command ", - "value": "string", - "description": "Specify a build command to run before deploying. If not specified, `shopify hydrogen build` will be used.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--entry ", - "value": "string", - "description": "Entry file for the worker. Defaults to `./server`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ENTRY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env ", - "value": "string", - "description": "Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-branch ", - "value": "string", - "description": "Specifies the environment to perform the operation using its Git branch name.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-file ", - "value": "string", - "description": "Path to an environment file to override existing environment variables for the deployment.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--force-client-sourcemap", - "value": "''", - "description": "Client sourcemapping is avoided by default because it makes backend code visible in the browser. Use this flag to force enabling it.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE_CLIENT_SOURCEMAP" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--json-output", - "value": "''", - "description": "Create a JSON file containing the deployment details in CI environments. Defaults to true, use `--no-json-output` to disable.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--lockfile-check", - "value": "''", - "description": "Checks that there is exactly one valid lockfile in the project. Defaults to `true`. Deactivate with `--no-lockfile-check`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_LOCKFILE_CHECK" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--metadata-description ", - "value": "string", - "description": "Description of the changes in the deployment. Defaults to the commit message of the latest commit if there are no uncommited changes.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_METADATA_DESCRIPTION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--metadata-user ", - "value": "string", - "description": "User that initiated the deployment. Will be saved and displayed in the Shopify admin", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_METADATA_USER" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--no-verify", - "value": "''", - "description": "Skip the routability verification step after deployment.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--preview", - "value": "''", - "description": "Deploys to the Preview environment.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Forces a deployment to proceed if there are uncommited changes in its Git repository.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --shop ", - "value": "string", - "description": "Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_SHOP" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-deploy.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --token ", - "value": "string", - "description": "Oxygen deployment token. Defaults to the linked storefront's token if available.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN" - } - ], - "value": "export interface hydrogendeploy {\n /**\n * Generate an authentication bypass token, which can be used to perform end-to-end tests against the deployment.\n * @environment AUTH_BYPASS_TOKEN\n */\n '--auth-bypass-token'?: ''\n\n /**\n * Specify the duration (in hours) up to 12 hours for the authentication bypass token. Defaults to `2`\n * @environment AUTH_BYPASS_TOKEN_DURATION\n */\n '--auth-bypass-token-duration '?: string\n\n /**\n * Specify a build command to run before deploying. If not specified, `shopify hydrogen build` will be used.\n *\n */\n '--build-command '?: string\n\n /**\n * Entry file for the worker. Defaults to `./server`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ENTRY\n */\n '--entry '?: string\n\n /**\n * Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.\n *\n */\n '--env '?: string\n\n /**\n * Specifies the environment to perform the operation using its Git branch name.\n * @environment SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH\n */\n '--env-branch '?: string\n\n /**\n * Path to an environment file to override existing environment variables for the deployment.\n *\n */\n '--env-file '?: string\n\n /**\n * Forces a deployment to proceed if there are uncommited changes in its Git repository.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Client sourcemapping is avoided by default because it makes backend code visible in the browser. Use this flag to force enabling it.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE_CLIENT_SOURCEMAP\n */\n '--force-client-sourcemap'?: ''\n\n /**\n * Create a JSON file containing the deployment details in CI environments. Defaults to true, use `--no-json-output` to disable.\n *\n */\n '--json-output'?: ''\n\n /**\n * Checks that there is exactly one valid lockfile in the project. Defaults to `true`. Deactivate with `--no-lockfile-check`.\n * @environment SHOPIFY_HYDROGEN_FLAG_LOCKFILE_CHECK\n */\n '--lockfile-check'?: ''\n\n /**\n * Description of the changes in the deployment. Defaults to the commit message of the latest commit if there are no uncommited changes.\n * @environment SHOPIFY_HYDROGEN_FLAG_METADATA_DESCRIPTION\n */\n '--metadata-description '?: string\n\n /**\n * User that initiated the deployment. Will be saved and displayed in the Shopify admin\n * @environment SHOPIFY_HYDROGEN_FLAG_METADATA_USER\n */\n '--metadata-user '?: string\n\n /**\n * Skip the routability verification step after deployment.\n *\n */\n '--no-verify'?: ''\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Deploys to the Preview environment.\n *\n */\n '--preview'?: ''\n\n /**\n * Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).\n * @environment SHOPIFY_SHOP\n */\n '-s, --shop '?: string\n\n /**\n * Oxygen deployment token. Defaults to the linked storefront's token if available.\n * @environment SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN\n */\n '-t, --token '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen dev", - "description": "Runs a Hydrogen storefront in a local runtime that emulates an Oxygen worker for development.\n\n If your project is [linked](/docs/api/shopify-cli/hydrogen/hydrogen-link) to a Hydrogen storefront, then its environment variables will be loaded with the runtime.", - "overviewPreviewDescription": "Runs a Hydrogen storefront in a local runtime that emulates an Oxygen worker for development.\n\n If your project is [linked](/docs/api/shopify-cli/hydrogen/hydrogen-link) to a Hydrogen storefront, then its environment variables will be loaded with the runtime.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen dev", - "code": "shopify hydrogen dev [flags]", - "language": "bash" - } - ], - "title": "hydrogen dev" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen dev` command:", - "type": "hydrogendev", - "typeDefinitions": { - "hydrogendev": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "name": "hydrogendev", - "description": "The following flags are available for the `hydrogen dev` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--codegen", - "value": "''", - "description": "Automatically generates GraphQL types for your project’s Storefront API queries.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--codegen-config-path ", - "value": "string", - "description": "Specifies a path to a codegen configuration file. Defaults to `/codegen.ts` if this file exists.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--customer-account-push", - "value": "''", - "description": "Use tunneling for local development and push the tunneling domain to admin. Required to use Customer Account API's OAuth flow", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_CUSTOMER_ACCOUNT_PUSH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--debug", - "value": "''", - "description": "Enables inspector connections to the server with a debugger such as Visual Studio Code or Chrome DevTools.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_DEBUG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--disable-deps-optimizer", - "value": "''", - "description": "Disable adding dependencies to Vite's `ssr.optimizeDeps.include` automatically", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_DISABLE_DEPS_OPTIMIZER" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--disable-version-check", - "value": "''", - "description": "Skip the version check when running `hydrogen dev`", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--disable-virtual-routes", - "value": "''", - "description": "Disable rendering fallback routes when a route file doesn't exist.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_DISABLE_VIRTUAL_ROUTES" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--entry ", - "value": "string", - "description": "Entry file for the worker. Defaults to `./server`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ENTRY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env ", - "value": "string", - "description": "Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-branch ", - "value": "string", - "description": "Specifies the environment to perform the operation using its Git branch name.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-file ", - "value": "string", - "description": "Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--host", - "value": "''", - "description": "Expose the server to the local network", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--inspector-port ", - "value": "string", - "description": "The port where the inspector is available. Defaults to 9229.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_INSPECTOR_PORT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--port ", - "value": "string", - "description": "The port to run the server on. Defaults to 3000.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PORT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--verbose", - "value": "''", - "description": "Outputs more information about the command's execution.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_VERBOSE" - } - ], - "value": "export interface hydrogendev {\n /**\n * Automatically generates GraphQL types for your project’s Storefront API queries.\n *\n */\n '--codegen'?: ''\n\n /**\n * Specifies a path to a codegen configuration file. Defaults to `/codegen.ts` if this file exists.\n *\n */\n '--codegen-config-path '?: string\n\n /**\n * Use tunneling for local development and push the tunneling domain to admin. Required to use Customer Account API's OAuth flow\n * @environment SHOPIFY_HYDROGEN_FLAG_CUSTOMER_ACCOUNT_PUSH\n */\n '--customer-account-push'?: ''\n\n /**\n * Enables inspector connections to the server with a debugger such as Visual Studio Code or Chrome DevTools.\n * @environment SHOPIFY_HYDROGEN_FLAG_DEBUG\n */\n '--debug'?: ''\n\n /**\n * Disable adding dependencies to Vite's `ssr.optimizeDeps.include` automatically\n * @environment SHOPIFY_HYDROGEN_FLAG_DISABLE_DEPS_OPTIMIZER\n */\n '--disable-deps-optimizer'?: ''\n\n /**\n * Skip the version check when running `hydrogen dev`\n *\n */\n '--disable-version-check'?: ''\n\n /**\n * Disable rendering fallback routes when a route file doesn't exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_DISABLE_VIRTUAL_ROUTES\n */\n '--disable-virtual-routes'?: ''\n\n /**\n * Entry file for the worker. Defaults to `./server`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ENTRY\n */\n '--entry '?: string\n\n /**\n * Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.\n *\n */\n '--env '?: string\n\n /**\n * Specifies the environment to perform the operation using its Git branch name.\n * @environment SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH\n */\n '--env-branch '?: string\n\n /**\n * Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.\n *\n */\n '--env-file '?: string\n\n /**\n * Expose the server to the local network\n *\n */\n '--host'?: ''\n\n /**\n * The port where the inspector is available. Defaults to 9229.\n * @environment SHOPIFY_HYDROGEN_FLAG_INSPECTOR_PORT\n */\n '--inspector-port '?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * The port to run the server on. Defaults to 3000.\n * @environment SHOPIFY_HYDROGEN_FLAG_PORT\n */\n '--port '?: string\n\n /**\n * Outputs more information about the command's execution.\n * @environment SHOPIFY_HYDROGEN_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen env list", - "description": "Lists all environments available on the linked Hydrogen storefront.", - "overviewPreviewDescription": "Lists all environments available on the linked Hydrogen storefront.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen env list", - "code": "shopify hydrogen env list [flags]", - "language": "bash" - } - ], - "title": "hydrogen env list" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen env list` command:", - "type": "hydrogenenvlist", - "typeDefinitions": { - "hydrogenenvlist": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-list.interface.ts", - "name": "hydrogenenvlist", - "description": "The following flags are available for the `hydrogen env list` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogenenvlist {\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen env pull", - "description": "Pulls environment variables from the linked Hydrogen storefront and writes them to an `.env` file.", - "overviewPreviewDescription": "Pulls environment variables from the linked Hydrogen storefront and writes them to an `.env` file.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen env pull", - "code": "shopify hydrogen env pull [flags]", - "language": "bash" - } - ], - "title": "hydrogen env pull" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen env pull` command:", - "type": "hydrogenenvpull", - "typeDefinitions": { - "hydrogenenvpull": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-pull.interface.ts", - "name": "hydrogenenvpull", - "description": "The following flags are available for the `hydrogen env pull` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env ", - "value": "string", - "description": "Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-branch ", - "value": "string", - "description": "Specifies the environment to perform the operation using its Git branch name.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-file ", - "value": "string", - "description": "Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Overwrites the destination directory and files if they already exist.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - } - ], - "value": "export interface hydrogenenvpull {\n /**\n * Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.\n *\n */\n '--env '?: string\n\n /**\n * Specifies the environment to perform the operation using its Git branch name.\n * @environment SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH\n */\n '--env-branch '?: string\n\n /**\n * Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.\n *\n */\n '--env-file '?: string\n\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen env push", - "description": "Push environment variables from the local .env file to your linked Hydrogen storefront.", - "overviewPreviewDescription": "Push environment variables from the local .env file to your linked Hydrogen storefront.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen env push", - "code": "shopify hydrogen env push [flags]", - "language": "bash" - } - ], - "title": "hydrogen env push" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen env push` command:", - "type": "hydrogenenvpush", - "typeDefinitions": { - "hydrogenenvpush": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-push.interface.ts", - "name": "hydrogenenvpush", - "description": "The following flags are available for the `hydrogen env push` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env ", - "value": "string", - "description": "Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-file ", - "value": "string", - "description": "Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-env-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogenenvpush {\n /**\n * Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.\n *\n */\n '--env '?: string\n\n /**\n * Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.\n *\n */\n '--env-file '?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen generate route", - "description": "Generates a set of default routes from the starter template.", - "overviewPreviewDescription": "Generates a set of default routes from the starter template.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen generate route", - "code": "shopify hydrogen generate route [flags]", - "language": "bash" - } - ], - "title": "hydrogen generate route" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen generate route` command:", - "type": "hydrogengenerateroute", - "typeDefinitions": { - "hydrogengenerateroute": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-route.interface.ts", - "name": "hydrogengenerateroute", - "description": "The following flags are available for the `hydrogen generate route` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-route.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--adapter ", - "value": "string", - "description": "Remix adapter used in the route. The default is `@shopify/remix-oxygen`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ADAPTER" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-route.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--locale-param ", - "value": "string", - "description": "The param name in Remix routes for the i18n locale, if any. Example: `locale` becomes ($locale).", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ADAPTER" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-route.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-route.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--typescript", - "value": "''", - "description": "Generate TypeScript files", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_TYPESCRIPT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-route.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Overwrites the destination directory and files if they already exist.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - } - ], - "value": "export interface hydrogengenerateroute {\n /**\n * Remix adapter used in the route. The default is `@shopify/remix-oxygen`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--adapter '?: string\n\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * The param name in Remix routes for the i18n locale, if any. Example: `locale` becomes ($locale).\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--locale-param '?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Generate TypeScript files\n * @environment SHOPIFY_HYDROGEN_FLAG_TYPESCRIPT\n */\n '--typescript'?: ''\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen generate routes", - "description": "Generates all supported standard shopify routes.", - "overviewPreviewDescription": "Generates all supported standard shopify routes.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen generate routes", - "code": "shopify hydrogen generate routes [flags]", - "language": "bash" - } - ], - "title": "hydrogen generate routes" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen generate routes` command:", - "type": "hydrogengenerateroutes", - "typeDefinitions": { - "hydrogengenerateroutes": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-routes.interface.ts", - "name": "hydrogengenerateroutes", - "description": "The following flags are available for the `hydrogen generate routes` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-routes.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--adapter ", - "value": "string", - "description": "Remix adapter used in the route. The default is `@shopify/remix-oxygen`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ADAPTER" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-routes.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--locale-param ", - "value": "string", - "description": "The param name in Remix routes for the i18n locale, if any. Example: `locale` becomes ($locale).", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ADAPTER" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-routes.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-routes.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--typescript", - "value": "''", - "description": "Generate TypeScript files", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_TYPESCRIPT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-generate-routes.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Overwrites the destination directory and files if they already exist.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - } - ], - "value": "export interface hydrogengenerateroutes {\n /**\n * Remix adapter used in the route. The default is `@shopify/remix-oxygen`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--adapter '?: string\n\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * The param name in Remix routes for the i18n locale, if any. Example: `locale` becomes ($locale).\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--locale-param '?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Generate TypeScript files\n * @environment SHOPIFY_HYDROGEN_FLAG_TYPESCRIPT\n */\n '--typescript'?: ''\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen init", - "description": "Creates a new Hydrogen storefront.", - "overviewPreviewDescription": "Creates a new Hydrogen storefront.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen init", - "code": "shopify hydrogen init [flags]", - "language": "bash" - } - ], - "title": "hydrogen init" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen init` command:", - "type": "hydrogeninit", - "typeDefinitions": { - "hydrogeninit": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "name": "hydrogeninit", - "description": "The following flags are available for the `hydrogen init` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--git", - "value": "''", - "description": "Init Git and create initial commits.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_GIT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--install-deps", - "value": "''", - "description": "Auto installs dependencies using the active package manager.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_INSTALL_DEPS" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--language ", - "value": "string", - "description": "Sets the template language to use. One of `js` or `ts`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_LANGUAGE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--markets ", - "value": "string", - "description": "Sets the URL structure to support multiple markets. Must be one of: `subfolders`, `domains`, `subdomains`, `none`. Example: `--markets subfolders`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_I18N" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--mock-shop", - "value": "''", - "description": "Use mock.shop as the data source for the storefront.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_MOCK_DATA" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the new Hydrogen storefront.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--quickstart", - "value": "''", - "description": "Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --markets none`", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_QUICKSTART" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--shortcut", - "value": "''", - "description": "Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_SHORTCUT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--styling ", - "value": "string", - "description": "Sets the styling strategy to use. One of `tailwind`, `vanilla-extract`, `css-modules`, `postcss`, `none`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_STYLING" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--template ", - "value": "string", - "description": "Scaffolds project based on an existing template or example from the Hydrogen repository.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_TEMPLATE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Overwrites the destination directory and files if they already exist.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - } - ], - "value": "export interface hydrogeninit {\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Init Git and create initial commits.\n * @environment SHOPIFY_HYDROGEN_FLAG_GIT\n */\n '--git'?: ''\n\n /**\n * Auto installs dependencies using the active package manager.\n * @environment SHOPIFY_HYDROGEN_FLAG_INSTALL_DEPS\n */\n '--install-deps'?: ''\n\n /**\n * Sets the template language to use. One of `js` or `ts`.\n * @environment SHOPIFY_HYDROGEN_FLAG_LANGUAGE\n */\n '--language '?: string\n\n /**\n * Sets the URL structure to support multiple markets. Must be one of: `subfolders`, `domains`, `subdomains`, `none`. Example: `--markets subfolders`.\n * @environment SHOPIFY_HYDROGEN_FLAG_I18N\n */\n '--markets '?: string\n\n /**\n * Use mock.shop as the data source for the storefront.\n * @environment SHOPIFY_HYDROGEN_FLAG_MOCK_DATA\n */\n '--mock-shop'?: ''\n\n /**\n * The path to the directory of the new Hydrogen storefront.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --markets none`\n * @environment SHOPIFY_HYDROGEN_FLAG_QUICKSTART\n */\n '--quickstart'?: ''\n\n /**\n * Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.\n * @environment SHOPIFY_HYDROGEN_FLAG_SHORTCUT\n */\n '--shortcut'?: ''\n\n /**\n * Sets the styling strategy to use. One of `tailwind`, `vanilla-extract`, `css-modules`, `postcss`, `none`.\n * @environment SHOPIFY_HYDROGEN_FLAG_STYLING\n */\n '--styling '?: string\n\n /**\n * Scaffolds project based on an existing template or example from the Hydrogen repository.\n * @environment SHOPIFY_HYDROGEN_FLAG_TEMPLATE\n */\n '--template '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen link", - "description": "Links your local development environment to a remote Hydrogen storefront. You can link an unlimited number of development environments to a single Hydrogen storefront.\n\n Linking to a Hydrogen storefront enables you to run [dev](/docs/api/shopify-cli/hydrogen/hydrogen-dev) and automatically inject your linked Hydrogen storefront's environment variables directly into the server runtime.\n\n After you run the `link` command, you can access the [env list](/docs/api/shopify-cli/hydrogen/hydrogen-env-list), [env pull](/docs/api/shopify-cli/hydrogen/hydrogen-env-pull), and [unlink](/docs/api/shopify-cli/hydrogen/hydrogen-unlink) commands.", - "overviewPreviewDescription": "Links your local development environment to a remote Hydrogen storefront. You can link an unlimited number of development environments to a single Hydrogen storefront.\n\n Linking to a Hydrogen storefront enables you to run [dev](/docs/api/shopify-cli/hydrogen/hydrogen-dev) and automatically inject your linked Hydrogen storefront's environment variables directly into the server runtime.\n\n After you run the `link` command, you can access the [env list](/docs/api/shopify-cli/hydrogen/hydrogen-env-list), [env pull](/docs/api/shopify-cli/hydrogen/hydrogen-env-pull), and [unlink](/docs/api/shopify-cli/hydrogen/hydrogen-unlink) commands.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen link", - "code": "shopify hydrogen link [flags]", - "language": "bash" - } - ], - "title": "hydrogen link" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen link` command:", - "type": "hydrogenlink", - "typeDefinitions": { - "hydrogenlink": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-link.interface.ts", - "name": "hydrogenlink", - "description": "The following flags are available for the `hydrogen link` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-link.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-link.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--storefront ", - "value": "string", - "description": "The name of a Hydrogen Storefront (e.g. \"Jane's Apparel\")", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_STOREFRONT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-link.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Overwrites the destination directory and files if they already exist.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - } - ], - "value": "export interface hydrogenlink {\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * The name of a Hydrogen Storefront (e.g. \"Jane's Apparel\")\n * @environment SHOPIFY_HYDROGEN_STOREFRONT\n */\n '--storefront '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen list", - "description": "Lists all remote Hydrogen storefronts available to link to your local development environment.", - "overviewPreviewDescription": "Lists all remote Hydrogen storefronts available to link to your local development environment.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen list", - "code": "shopify hydrogen list [flags]", - "language": "bash" - } - ], - "title": "hydrogen list" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen list` command:", - "type": "hydrogenlist", - "typeDefinitions": { - "hydrogenlist": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-list.interface.ts", - "name": "hydrogenlist", - "description": "The following flags are available for the `hydrogen list` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogenlist {\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen login", - "description": "Logs in to the specified shop and saves the shop domain to the project.", - "overviewPreviewDescription": "Logs in to the specified shop and saves the shop domain to the project.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen login", - "code": "shopify hydrogen login [flags]", - "language": "bash" - } - ], - "title": "hydrogen login" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen login` command:", - "type": "hydrogenlogin", - "typeDefinitions": { - "hydrogenlogin": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-login.interface.ts", - "name": "hydrogenlogin", - "description": "The following flags are available for the `hydrogen login` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-login.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-login.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --shop ", - "value": "string", - "description": "Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_SHOP" - } - ], - "value": "export interface hydrogenlogin {\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).\n * @environment SHOPIFY_SHOP\n */\n '-s, --shop '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen logout", - "description": "Log out from the current shop.", - "overviewPreviewDescription": "Log out from the current shop.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen logout", - "code": "shopify hydrogen logout [flags]", - "language": "bash" - } - ], - "title": "hydrogen logout" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen logout` command:", - "type": "hydrogenlogout", - "typeDefinitions": { - "hydrogenlogout": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-logout.interface.ts", - "name": "hydrogenlogout", - "description": "The following flags are available for the `hydrogen logout` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-logout.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogenlogout {\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen preview", - "description": "Runs a server in your local development environment that serves your Hydrogen app's production build. Requires running the [build](/docs/api/shopify-cli/hydrogen/hydrogen-build) command first.", - "overviewPreviewDescription": "Runs a server in your local development environment that serves your Hydrogen app's production build. Requires running the [build](/docs/api/shopify-cli/hydrogen/hydrogen-build) command first.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen preview", - "code": "shopify hydrogen preview [flags]", - "language": "bash" - } - ], - "title": "hydrogen preview" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen preview` command:", - "type": "hydrogenpreview", - "typeDefinitions": { - "hydrogenpreview": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "name": "hydrogenpreview", - "description": "The following flags are available for the `hydrogen preview` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--build", - "value": "''", - "description": "Builds the app before starting the preview server.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--codegen", - "value": "''", - "description": "Automatically generates GraphQL types for your project’s Storefront API queries.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--codegen-config-path ", - "value": "string", - "description": "Specifies a path to a codegen configuration file. Defaults to `/codegen.ts` if this file exists.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--debug", - "value": "''", - "description": "Enables inspector connections to the server with a debugger such as Visual Studio Code or Chrome DevTools.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_DEBUG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--entry ", - "value": "string", - "description": "Entry file for the worker. Defaults to `./server`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_ENTRY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env ", - "value": "string", - "description": "Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-branch ", - "value": "string", - "description": "Specifies the environment to perform the operation using its Git branch name.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--env-file ", - "value": "string", - "description": "Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.", - "isOptional": true - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--inspector-port ", - "value": "string", - "description": "The port where the inspector is available. Defaults to 9229.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_INSPECTOR_PORT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--port ", - "value": "string", - "description": "The port to run the server on. Defaults to 3000.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PORT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--verbose", - "value": "''", - "description": "Outputs more information about the command's execution.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_VERBOSE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--watch", - "value": "''", - "description": "Watches for changes and rebuilds the project.", - "isOptional": true - } - ], - "value": "export interface hydrogenpreview {\n /**\n * Builds the app before starting the preview server.\n *\n */\n '--build'?: ''\n\n /**\n * Automatically generates GraphQL types for your project’s Storefront API queries.\n *\n */\n '--codegen'?: ''\n\n /**\n * Specifies a path to a codegen configuration file. Defaults to `/codegen.ts` if this file exists.\n *\n */\n '--codegen-config-path '?: string\n\n /**\n * Enables inspector connections to the server with a debugger such as Visual Studio Code or Chrome DevTools.\n * @environment SHOPIFY_HYDROGEN_FLAG_DEBUG\n */\n '--debug'?: ''\n\n /**\n * Entry file for the worker. Defaults to `./server`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ENTRY\n */\n '--entry '?: string\n\n /**\n * Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.\n *\n */\n '--env '?: string\n\n /**\n * Specifies the environment to perform the operation using its Git branch name.\n * @environment SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH\n */\n '--env-branch '?: string\n\n /**\n * Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.\n *\n */\n '--env-file '?: string\n\n /**\n * The port where the inspector is available. Defaults to 9229.\n * @environment SHOPIFY_HYDROGEN_FLAG_INSPECTOR_PORT\n */\n '--inspector-port '?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * The port to run the server on. Defaults to 3000.\n * @environment SHOPIFY_HYDROGEN_FLAG_PORT\n */\n '--port '?: string\n\n /**\n * Outputs more information about the command's execution.\n * @environment SHOPIFY_HYDROGEN_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * Watches for changes and rebuilds the project.\n *\n */\n '--watch'?: ''\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen setup css", - "description": "Adds support for certain CSS strategies to your project.", - "overviewPreviewDescription": "Adds support for certain CSS strategies to your project.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen setup css", - "code": "shopify hydrogen setup css [flags]", - "language": "bash" - } - ], - "title": "hydrogen setup css" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen setup css` command:", - "type": "hydrogensetupcss", - "typeDefinitions": { - "hydrogensetupcss": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup-css.interface.ts", - "name": "hydrogensetupcss", - "description": "The following flags are available for the `hydrogen setup css` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup-css.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--install-deps", - "value": "''", - "description": "Auto installs dependencies using the active package manager.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_INSTALL_DEPS" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup-css.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup-css.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Overwrites the destination directory and files if they already exist.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - } - ], - "value": "export interface hydrogensetupcss {\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Auto installs dependencies using the active package manager.\n * @environment SHOPIFY_HYDROGEN_FLAG_INSTALL_DEPS\n */\n '--install-deps'?: ''\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen setup markets", - "description": "Adds support for multiple [markets](/docs/custom-storefronts/hydrogen/markets) to your project by using the URL structure.", - "overviewPreviewDescription": "Adds support for multiple [markets](/docs/custom-storefronts/hydrogen/markets) to your project by using the URL structure.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen setup markets", - "code": "shopify hydrogen setup markets [flags]", - "language": "bash" - } - ], - "title": "hydrogen setup markets" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen setup markets` command:", - "type": "hydrogensetupmarkets", - "typeDefinitions": { - "hydrogensetupmarkets": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup-markets.interface.ts", - "name": "hydrogensetupmarkets", - "description": "The following flags are available for the `hydrogen setup markets` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup-markets.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogensetupmarkets {\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen setup vite", - "description": "EXPERIMENTAL: Upgrades the project to use Vite.", - "overviewPreviewDescription": "EXPERIMENTAL: Upgrades the project to use Vite.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen setup vite", - "code": "shopify hydrogen setup vite [flags]", - "language": "bash" - } - ], - "title": "hydrogen setup vite" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen setup vite` command:", - "type": "hydrogensetupvite", - "typeDefinitions": { - "hydrogensetupvite": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup-vite.interface.ts", - "name": "hydrogensetupvite", - "description": "The following flags are available for the `hydrogen setup vite` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup-vite.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogensetupvite {\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen setup", - "description": "Scaffold routes and core functionality.", - "overviewPreviewDescription": "Scaffold routes and core functionality.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen setup", - "code": "shopify hydrogen setup [flags]", - "language": "bash" - } - ], - "title": "hydrogen setup" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen setup` command:", - "type": "hydrogensetup", - "typeDefinitions": { - "hydrogensetup": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup.interface.ts", - "name": "hydrogensetup", - "description": "The following flags are available for the `hydrogen setup` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--install-deps", - "value": "''", - "description": "Auto installs dependencies using the active package manager.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_INSTALL_DEPS" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--markets ", - "value": "string", - "description": "Sets the URL structure to support multiple markets. Must be one of: `subfolders`, `domains`, `subdomains`, `none`. Example: `--markets subfolders`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_I18N" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--shortcut", - "value": "''", - "description": "Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_SHORTCUT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-setup.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Overwrites the destination directory and files if they already exist.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - } - ], - "value": "export interface hydrogensetup {\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Auto installs dependencies using the active package manager.\n * @environment SHOPIFY_HYDROGEN_FLAG_INSTALL_DEPS\n */\n '--install-deps'?: ''\n\n /**\n * Sets the URL structure to support multiple markets. Must be one of: `subfolders`, `domains`, `subdomains`, `none`. Example: `--markets subfolders`.\n * @environment SHOPIFY_HYDROGEN_FLAG_I18N\n */\n '--markets '?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.\n * @environment SHOPIFY_HYDROGEN_FLAG_SHORTCUT\n */\n '--shortcut'?: ''\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen shortcut", - "description": "Creates a global h2 shortcut for Shopify CLI using shell aliases.\n\n The following shells are supported:\n\n - Bash (using `~/.bashrc`)\n - ZSH (using `~/.zshrc`)\n - Fish (using `~/.config/fish/functions`)\n - PowerShell (added to `$PROFILE`)\n\n After the alias is created, you can call Shopify CLI from anywhere in your project using `h2 `.", - "overviewPreviewDescription": "Creates a global h2 shortcut for Shopify CLI using shell aliases.\n\n The following shells are supported:\n\n - Bash (using `~/.bashrc`)\n - ZSH (using `~/.zshrc`)\n - Fish (using `~/.config/fish/functions`)\n - PowerShell (added to `$PROFILE`)\n\n After the alias is created, you can call Shopify CLI from anywhere in your project using `h2 `.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen shortcut", - "code": "shopify hydrogen shortcut", - "language": "bash" - } - ], - "title": "hydrogen shortcut" - } - }, - "definitions": [], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen unlink", - "description": "Unlinks your local development environment from a remote Hydrogen storefront.", - "overviewPreviewDescription": "Unlinks your local development environment from a remote Hydrogen storefront.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen unlink", - "code": "shopify hydrogen unlink [flags]", - "language": "bash" - } - ], - "title": "hydrogen unlink" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen unlink` command:", - "type": "hydrogenunlink", - "typeDefinitions": { - "hydrogenunlink": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-unlink.interface.ts", - "name": "hydrogenunlink", - "description": "The following flags are available for the `hydrogen unlink` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-unlink.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - } - ], - "value": "export interface hydrogenunlink {\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "hydrogen upgrade", - "description": "Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.", - "overviewPreviewDescription": "Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "hydrogen upgrade", - "code": "shopify hydrogen upgrade [flags]", - "language": "bash" - } - ], - "title": "hydrogen upgrade" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `hydrogen upgrade` command:", - "type": "hydrogenupgrade", - "typeDefinitions": { - "hydrogenupgrade": { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-upgrade.interface.ts", - "name": "hydrogenupgrade", - "description": "The following flags are available for the `hydrogen upgrade` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-upgrade.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-upgrade.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Ignore warnings and force the upgrade to the target version", - "isOptional": true, - "environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/hydrogen-upgrade.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-v, --version ", - "value": "string", - "description": "A target hydrogen version to update to", - "isOptional": true - } - ], - "value": "export interface hydrogenupgrade {\n /**\n * Ignore warnings and force the upgrade to the target version\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * A target hydrogen version to update to\n *\n */\n '-v, --version '?: string\n}" - } - } - } - ], - "category": "hydrogen", - "related": [] - }, - { - "name": "organization list", - "description": "Lists the Shopify organizations that you have access to, along with their organization IDs.", - "overviewPreviewDescription": "List Shopify organizations you have access to.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "organization list", - "code": "shopify organization list [flags]", - "language": "bash" - } - ], - "title": "organization list" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `organization list` command:", - "type": "organizationlist", - "typeDefinitions": { - "organizationlist": { - "filePath": "docs-shopify.dev/commands/interfaces/organization-list.interface.ts", - "name": "organizationlist", - "description": "The following flags are available for the `organization list` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/organization-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/organization-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/organization-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 organizationlist {\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}" - } - } - } - ], - "category": "general commands", - "related": [] - }, - { - "name": "search", - "description": "Starts a search on shopify.dev.", - "overviewPreviewDescription": "Starts a search on shopify.dev.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "search", - "code": "shopify search [query]", - "language": "bash" - } - ], - "title": "search" - } - }, - "definitions": [], - "category": "general commands", - "related": [] - }, - { - "name": "store auth", - "description": "Authenticates the app against the specified store for store commands and stores an online access token for later reuse.\n\nRe-run this command if the stored token is missing, expires, or no longer has the scopes you need.", - "overviewPreviewDescription": "Authenticate an app against a store for store commands.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "store auth", - "code": "shopify store auth [flags]", - "language": "bash" - } - ], - "title": "store auth" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `store auth` command:", - "type": "storeauth", - "typeDefinitions": { - "storeauth": { - "filePath": "docs-shopify.dev/commands/interfaces/store-auth.interface.ts", - "name": "storeauth", - "description": "The following flags are available for the `store auth` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/store-auth.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.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--scopes ", - "value": "string", - "description": "Comma-separated Admin API scopes to request for the app.", - "environmentValue": "SHOPIFY_FLAG_SCOPES" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/store-auth.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.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-auth.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "The myshopify.com domain of the store to authenticate against.", - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface storeauth {\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 * Comma-separated Admin API scopes to request for the app.\n * @environment SHOPIFY_FLAG_SCOPES\n */\n '--scopes ': string\n\n /**\n * The myshopify.com domain of the store to authenticate against.\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}" - } - } - } - ], - "category": "store", - "related": [] - }, - { - "name": "store execute", - "description": "Executes an Admin API GraphQL query or mutation on the specified store using previously stored app authentication.\n\nRun `shopify store auth` first to create stored auth for the store.\n\nMutations are disabled by default. Re-run with `--allow-mutations` if you intend to modify store data.", - "overviewPreviewDescription": "Execute GraphQL queries and mutations on a store.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "store execute", - "code": "shopify store execute [flags]", - "language": "bash" - } - ], - "title": "store execute" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `store execute` command:", - "type": "storeexecute", - "typeDefinitions": { - "storeexecute": { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.interface.ts", - "name": "storeexecute", - "description": "The following flags are available for the `store execute` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--allow-mutations", - "value": "''", - "description": "Allow GraphQL mutations to run against the target store.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ALLOW_MUTATIONS" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.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-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--output-file ", - "value": "string", - "description": "The file name where results should be written, instead of STDOUT.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_OUTPUT_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--query-file ", - "value": "string", - "description": "Path to a file containing the GraphQL query or mutation. Can't be used with --query.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_QUERY_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--variable-file ", - "value": "string", - "description": "Path to a file containing GraphQL variables in JSON format. Can't be used with --variables.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VARIABLE_FILE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.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-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--version ", - "value": "string", - "description": "The API version to use for the query or mutation. Defaults to the latest stable version.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VERSION" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.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-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-q, --query ", - "value": "string", - "description": "The GraphQL query or mutation, as a string.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_QUERY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "The myshopify.com domain of the store to execute against.", - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/store-execute.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-v, --variables ", - "value": "string", - "description": "The values for any GraphQL variables in your query or mutation, in JSON format.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VARIABLES" - } - ], - "value": "export interface storeexecute {\n /**\n * Allow GraphQL mutations to run against the target store.\n * @environment SHOPIFY_FLAG_ALLOW_MUTATIONS\n */\n '--allow-mutations'?: ''\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 file name where results should be written, instead of STDOUT.\n * @environment SHOPIFY_FLAG_OUTPUT_FILE\n */\n '--output-file '?: string\n\n /**\n * The GraphQL query or mutation, as a string.\n * @environment SHOPIFY_FLAG_QUERY\n */\n '-q, --query '?: string\n\n /**\n * Path to a file containing the GraphQL query or mutation. Can't be used with --query.\n * @environment SHOPIFY_FLAG_QUERY_FILE\n */\n '--query-file '?: string\n\n /**\n * The myshopify.com domain of the store to execute against.\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store ': string\n\n /**\n * Path to a file containing GraphQL variables in JSON format. Can't be used with --variables.\n * @environment SHOPIFY_FLAG_VARIABLE_FILE\n */\n '--variable-file '?: string\n\n /**\n * The values for any GraphQL variables in your query or mutation, in JSON format.\n * @environment SHOPIFY_FLAG_VARIABLES\n */\n '-v, --variables '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * The API version to use for the query or mutation. Defaults to the latest stable version.\n * @environment SHOPIFY_FLAG_VERSION\n */\n '--version '?: string\n}" - } - } - } - ], - "category": "store", - "related": [] - }, - { - "name": "theme check", - "description": "Calls and runs [Theme Check](/docs/themes/tools/theme-check) to analyze your theme code for errors and to ensure that it follows theme and Liquid best practices. [Learn more about the checks that Theme Check runs.](/docs/themes/tools/theme-check/checks)", - "overviewPreviewDescription": "Validate the theme.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme check", - "code": "shopify theme check [flags]", - "language": "bash" - } - ], - "title": "theme check" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme check` command:", - "type": "themecheck", - "typeDefinitions": { - "themecheck": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "name": "themecheck", - "description": "The following flags are available for the `theme check` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--fail-level ", - "value": "string", - "description": "Minimum severity for exit with error code", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_FAIL_LEVEL" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--init", - "value": "''", - "description": "Generate a .theme-check.yml file", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_INIT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--list", - "value": "''", - "description": "List enabled checks", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LIST" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.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/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--print", - "value": "''", - "description": "Output active config to STDOUT", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PRINT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.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/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-a, --auto-correct", - "value": "''", - "description": "Automatically fix offenses", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_AUTO_CORRECT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-C, --config ", - "value": "string", - "description": "Use the config provided, overriding .theme-check.yml if present Supports all theme-check: config values, e.g., theme-check:theme-app-extension,\n theme-check:recommended, theme-check:all\n For backwards compatibility, :theme_app_extension is also supported", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CONFIG" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-o, --output ", - "value": "string", - "description": "The output format to use", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_OUTPUT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-check.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-v, --version", - "value": "''", - "description": "Print Theme Check version", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VERSION" - } - ], - "value": "export interface themecheck {\n /**\n * Automatically fix offenses\n * @environment SHOPIFY_FLAG_AUTO_CORRECT\n */\n '-a, --auto-correct'?: ''\n\n /**\n * Use the config provided, overriding .theme-check.yml if present\n Supports all theme-check: config values, e.g., theme-check:theme-app-extension,\n theme-check:recommended, theme-check:all\n For backwards compatibility, :theme_app_extension is also supported \n * @environment SHOPIFY_FLAG_CONFIG\n */\n '-C, --config '?: string\n\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Minimum severity for exit with error code\n * @environment SHOPIFY_FLAG_FAIL_LEVEL\n */\n '--fail-level '?: string\n\n /**\n * Generate a .theme-check.yml file\n * @environment SHOPIFY_FLAG_INIT\n */\n '--init'?: ''\n\n /**\n * List enabled checks\n * @environment SHOPIFY_FLAG_LIST\n */\n '--list'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The output format to use\n * @environment SHOPIFY_FLAG_OUTPUT\n */\n '-o, --output '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Output active config to STDOUT\n * @environment SHOPIFY_FLAG_PRINT\n */\n '--print'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n\n /**\n * Print Theme Check version\n * @environment SHOPIFY_FLAG_VERSION\n */\n '-v, --version'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme console", - "description": "Starts the Shopify Liquid REPL (read-eval-print loop) tool. This tool provides an interactive terminal interface for evaluating Liquid code and exploring Liquid objects, filters, and tags using real store data.\n\n You can also provide context to the console using a URL, as some Liquid objects are context-specific", - "overviewPreviewDescription": "Shopify Liquid REPL (read-eval-print loop) tool", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme console", - "code": "shopify theme console\n\nshopify theme console --url /products/classic-leather-jacket", - "language": "bash" - } - ], - "title": "theme console" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme console` command:", - "type": "themeconsole", - "typeDefinitions": { - "themeconsole": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-console.interface.ts", - "name": "themeconsole", - "description": "The following flags are available for the `theme console` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-console.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/theme-console.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-console.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-console.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--store-password ", - "value": "string", - "description": "The password for storefronts with password protection.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE_PASSWORD" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-console.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--url ", - "value": "string", - "description": "The url to be used as context", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_URL" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-console.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/theme-console.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-console.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface themeconsole {\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * The password for storefronts with password protection.\n * @environment SHOPIFY_FLAG_STORE_PASSWORD\n */\n '--store-password '?: string\n\n /**\n * The url to be used as context\n * @environment SHOPIFY_FLAG_URL\n */\n '--url '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme delete", - "description": "Deletes a theme from your store.\n\n You can specify multiple themes by ID. If no theme is specified, then you're prompted to select the theme that you want to delete from the list of themes in your store.\n\n You're asked to confirm that you want to delete the specified themes before they are deleted. You can skip this confirmation using the `--force` flag.", - "overviewPreviewDescription": "Delete remote themes from the connected store. This command can't be undone.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme delete", - "code": "shopify theme delete [flags]", - "language": "bash" - } - ], - "title": "theme delete" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme delete` command:", - "type": "themedelete", - "typeDefinitions": { - "themedelete": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-delete.interface.ts", - "name": "themedelete", - "description": "The following flags are available for the `theme delete` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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/theme-delete.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-delete.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-delete.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/theme-delete.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-a, --show-all", - "value": "''", - "description": "Include others development themes in theme list.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_SHOW_ALL" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-delete.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-d, --development", - "value": "''", - "description": "Delete your development theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_DEVELOPMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-delete.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-delete.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Skip confirmation.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_FORCE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-delete.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-delete.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - } - ], - "value": "export interface themedelete {\n /**\n * Delete your development theme.\n * @environment SHOPIFY_FLAG_DEVELOPMENT\n */\n '-d, --development'?: ''\n\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Skip confirmation.\n * @environment SHOPIFY_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Include others development themes in theme list.\n * @environment SHOPIFY_FLAG_SHOW_ALL\n */\n '-a, --show-all'?: ''\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme dev", - "description": "\n Uploads the current theme as the specified theme, or a [development theme](/docs/themes/tools/cli#development-themes), to a store so you can preview it.\n\nThis command returns the following information:\n\n- A link to your development theme at http://127.0.0.1:9292. This URL can hot reload local changes to CSS and sections, or refresh the entire page when a file changes, enabling you to preview changes in real time using the store's data.\n\n You can specify a different network interface and port using `--host` and `--port`.\n\n- A link to the [editor](/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n\n- A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers.\n\nIf you already have a development theme for your current environment, then this command replaces the development theme with your local theme. You can override this using the `--theme-editor-sync` flag.\n\n> Note: You can't preview checkout customizations using http://127.0.0.1:9292.\n\nDevelopment themes are deleted when you run `shopify auth logout`. If you need a preview link that can be used after you log out, then you should [share](/docs/api/shopify-cli/theme/theme-share) your theme or [push](/docs/api/shopify-cli/theme/theme-push) to an unpublished theme on your store.\n\nYou can run this command only in a directory that matches the [default Shopify theme folder structure](/docs/themes/tools/cli#directory-structure).", - "overviewPreviewDescription": "Uploads the current theme as a development theme to the connected store, then prints theme editor and preview URLs to your terminal. While running, changes will push to the store in real time.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme dev", - "code": "shopify theme dev [flags]", - "language": "bash" - } - ], - "title": "theme dev" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme dev` command:", - "type": "themedev", - "typeDefinitions": { - "themedev": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "name": "themedev", - "description": "The following flags are available for the `theme dev` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--error-overlay ", - "value": "string", - "description": "Controls the visibility of the error overlay when an theme asset upload fails:\n- silent Prevents the error overlay from appearing.\n- default Displays the error overlay.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ERROR_OVERLAY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--host ", - "value": "string", - "description": "Set which network interface the web server listens on. The default value is 127.0.0.1.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_HOST" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--listing ", - "value": "string", - "description": "The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LISTING" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--live-reload ", - "value": "string", - "description": "The live reload mode switches the server behavior when a file is modified:\n- hot-reload Hot reloads local changes to CSS and sections (default)\n- full-page Always refreshes the entire page\n- off Deactivate live reload", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LIVE_RELOAD" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--notify ", - "value": "string", - "description": "The file path or URL. The file path is to a file that you want updated on idle. The URL path is where you want a webhook posted to report on file changes.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NOTIFY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--open", - "value": "''", - "description": "Automatically launch the theme preview in your default web browser.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_OPEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--port ", - "value": "string", - "description": "Local port to serve theme preview from.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PORT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--store-password ", - "value": "string", - "description": "The password for storefronts with password protection.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE_PASSWORD" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--theme-editor-sync", - "value": "''", - "description": "Synchronize Theme Editor updates in the local theme files.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_EDITOR_SYNC" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.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/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-a, --allow-live", - "value": "''", - "description": "Allow development on a live theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ALLOW_LIVE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-n, --nodelete", - "value": "''", - "description": "Prevents files from being deleted in the remote theme when a file has been deleted locally. This applies to files that are deleted while the command is running, and files that have been deleted locally before the command is run.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NODELETE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-o, --only ", - "value": "string", - "description": "Hot reload only files that match the specified pattern.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ONLY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-dev.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-x, --ignore ", - "value": "string", - "description": "Skip hot reloading any files that match the specified pattern.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_IGNORE" - } - ], - "value": "export interface themedev {\n /**\n * Allow development on a live theme.\n * @environment SHOPIFY_FLAG_ALLOW_LIVE\n */\n '-a, --allow-live'?: ''\n\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Controls the visibility of the error overlay when an theme asset upload fails:\n- silent Prevents the error overlay from appearing.\n- default Displays the error overlay.\n \n * @environment SHOPIFY_FLAG_ERROR_OVERLAY\n */\n '--error-overlay '?: string\n\n /**\n * Set which network interface the web server listens on. The default value is 127.0.0.1.\n * @environment SHOPIFY_FLAG_HOST\n */\n '--host '?: string\n\n /**\n * Skip hot reloading any files that match the specified pattern.\n * @environment SHOPIFY_FLAG_IGNORE\n */\n '-x, --ignore '?: string\n\n /**\n * The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.\n * @environment SHOPIFY_FLAG_LISTING\n */\n '--listing '?: string\n\n /**\n * The live reload mode switches the server behavior when a file is modified:\n- hot-reload Hot reloads local changes to CSS and sections (default)\n- full-page Always refreshes the entire page\n- off Deactivate live reload\n * @environment SHOPIFY_FLAG_LIVE_RELOAD\n */\n '--live-reload '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Prevents files from being deleted in the remote theme when a file has been deleted locally. This applies to files that are deleted while the command is running, and files that have been deleted locally before the command is run.\n * @environment SHOPIFY_FLAG_NODELETE\n */\n '-n, --nodelete'?: ''\n\n /**\n * The file path or URL. The file path is to a file that you want updated on idle. The URL path is where you want a webhook posted to report on file changes.\n * @environment SHOPIFY_FLAG_NOTIFY\n */\n '--notify '?: string\n\n /**\n * Hot reload only files that match the specified pattern.\n * @environment SHOPIFY_FLAG_ONLY\n */\n '-o, --only '?: string\n\n /**\n * Automatically launch the theme preview in your default web browser.\n * @environment SHOPIFY_FLAG_OPEN\n */\n '--open'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Local port to serve theme preview from.\n * @environment SHOPIFY_FLAG_PORT\n */\n '--port '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * The password for storefronts with password protection.\n * @environment SHOPIFY_FLAG_STORE_PASSWORD\n */\n '--store-password '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Synchronize Theme Editor updates in the local theme files.\n * @environment SHOPIFY_FLAG_THEME_EDITOR_SYNC\n */\n '--theme-editor-sync'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme duplicate", - "description": "If you want to duplicate your local theme, you need to run `shopify theme push` first.\n\nIf no theme ID is specified, you're prompted to select the theme that you want to duplicate from the list of themes in your store. You're asked to confirm that you want to duplicate the specified theme.\n\nPrompts and confirmations are not shown when duplicate is run in a CI environment or the `--force` flag is used, therefore you must specify a theme ID using the `--theme` flag.\n\nYou can optionally name the duplicated theme using the `--name` flag.\n\nIf you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\nSample JSON output:\n\n```json\n{\n \"theme\": {\n \"id\": 108267175958,\n \"name\": \"A Duplicated Theme\",\n \"role\": \"unpublished\",\n \"shop\": \"mystore.myshopify.com\"\n }\n}\n```\n\n```json\n{\n \"message\": \"The theme 'Summer Edition' could not be duplicated due to errors\",\n \"errors\": [\"Maximum number of themes reached\"],\n \"requestId\": \"12345-abcde-67890\"\n}\n```", - "overviewPreviewDescription": "Duplicates a theme from your theme library.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme duplicate", - "code": "shopify theme duplicate\n\nshopify theme duplicate --theme 10 --name 'New Theme'", - "language": "bash" - } - ], - "title": "theme duplicate" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme duplicate` command:", - "type": "themeduplicate", - "typeDefinitions": { - "themeduplicate": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-duplicate.interface.ts", - "name": "themeduplicate", - "description": "The following flags are available for the `theme duplicate` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-duplicate.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/theme-duplicate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-duplicate.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/theme-duplicate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-duplicate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Force the duplicate operation to run without prompts or confirmations.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_FORCE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-duplicate.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/theme-duplicate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-n, --name ", - "value": "string", - "description": "Name of the newly duplicated theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NAME" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-duplicate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-duplicate.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - } - ], - "value": "export interface themeduplicate {\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Force the duplicate operation to run without prompts or confirmations.\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 * Name of the newly duplicated theme.\n * @environment SHOPIFY_FLAG_NAME\n */\n '-n, --name '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme info", - "description": "Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.", - "overviewPreviewDescription": "Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme info", - "code": "shopify theme info [flags]", - "language": "bash" - } - ], - "title": "theme info" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme info` command:", - "type": "themeinfo", - "typeDefinitions": { - "themeinfo": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-info.interface.ts", - "name": "themeinfo", - "description": "The following flags are available for the `theme info` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-info.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/theme-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-info.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/theme-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-d, --development", - "value": "''", - "description": "Retrieve info from your development theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_DEVELOPMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-info.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/theme-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-info.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - } - ], - "value": "export interface themeinfo {\n /**\n * Retrieve info from your development theme.\n * @environment SHOPIFY_FLAG_DEVELOPMENT\n */\n '-d, --development'?: ''\n\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: 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 * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme init", - "description": "Clones a Git repository to your local machine to use as the starting point for building a theme.\n\n If no Git repository is specified, then this command creates a copy of Shopify's [Skeleton theme](https://github.com/Shopify/skeleton-theme.git), with the specified name in the current folder. If no name is provided, then you're prompted to enter one.\n\n > Caution: If you're building a theme for the Shopify Theme Store, then you can use our example theme as a starting point. However, the theme that you submit needs to be [substantively different from existing themes](/docs/themes/store/requirements#uniqueness) so that it provides added value for users.\n ", - "overviewPreviewDescription": "Clones a Git repository to use as a starting point for building a new theme.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme init", - "code": "shopify theme init [name] [flags]", - "language": "bash" - } - ], - "title": "theme init" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme init` command:", - "type": "themeinit", - "typeDefinitions": { - "themeinit": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-init.interface.ts", - "name": "themeinit", - "description": "The following flags are available for the `theme init` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-init.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/theme-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-init.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/theme-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-l, --latest", - "value": "''", - "description": "Downloads the latest release of the `clone-url`", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LATEST" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-init.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-u, --clone-url ", - "value": "string", - "description": "The Git URL to clone from. Defaults to Shopify's Skeleton theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_CLONE_URL" - } - ], - "value": "export interface themeinit {\n /**\n * The Git URL to clone from. Defaults to Shopify's Skeleton theme.\n * @environment SHOPIFY_FLAG_CLONE_URL\n */\n '-u, --clone-url '?: string\n\n /**\n * Downloads the latest release of the `clone-url`\n * @environment SHOPIFY_FLAG_LATEST\n */\n '-l, --latest'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme language-server", - "description": "Starts the [Language Server](/docs/themes/tools/cli/language-server).", - "overviewPreviewDescription": "Start a Language Server Protocol server.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme language-server", - "code": "shopify theme language-server [flags]", - "language": "bash" - } - ], - "title": "theme language-server" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme language-server` command:", - "type": "themelanguageserver", - "typeDefinitions": { - "themelanguageserver": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-language-server.interface.ts", - "name": "themelanguageserver", - "description": "The following flags are available for the `theme language-server` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-language-server.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/theme-language-server.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--verbose", - "value": "''", - "description": "Increase the verbosity of the output.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VERBOSE" - } - ], - "value": "export interface themelanguageserver {\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}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme list", - "description": "Lists the themes in your store, along with their IDs and statuses.", - "overviewPreviewDescription": "Lists the themes in your store, along with their IDs and statuses.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme list", - "code": "shopify theme list [flags]", - "language": "bash" - } - ], - "title": "theme list" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme list` command:", - "type": "themelist", - "typeDefinitions": { - "themelist": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-list.interface.ts", - "name": "themelist", - "description": "The following flags are available for the `theme list` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--id ", - "value": "string", - "description": "Only list theme with the given ID.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--name ", - "value": "string", - "description": "Only list themes that contain the given name.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NAME" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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/theme-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--role ", - "value": "string", - "description": "Only list themes with the given role.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ROLE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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/theme-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-list.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface themelist {\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Only list theme with the given ID.\n * @environment SHOPIFY_FLAG_ID\n */\n '--id '?: 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 * Only list themes that contain the given name.\n * @environment SHOPIFY_FLAG_NAME\n */\n '--name '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Only list themes with the given role.\n * @environment SHOPIFY_FLAG_ROLE\n */\n '--role '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\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}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme metafields pull", - "description": "Retrieves metafields from Shopify Admin.\n\nIf the metafields file already exists, it will be overwritten.", - "overviewPreviewDescription": "Download metafields definitions from your shop into a local file.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme metafields pull", - "code": "shopify theme metafields pull [flags]", - "language": "bash" - } - ], - "title": "theme metafields pull" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme metafields pull` command:", - "type": "thememetafieldspull", - "typeDefinitions": { - "thememetafieldspull": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-metafields-pull.interface.ts", - "name": "thememetafieldspull", - "description": "The following flags are available for the `theme metafields pull` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-metafields-pull.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/theme-metafields-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-metafields-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-metafields-pull.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/theme-metafields-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-metafields-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface thememetafieldspull {\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\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}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme open", - "description": "Returns links that let you preview the specified theme. The following links are returned:\n\n - A link to the [editor](/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers.\n\n If you don't specify a theme, then you're prompted to select the theme to open from the list of the themes in your store.", - "overviewPreviewDescription": "Opens the preview of your remote theme.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme open", - "code": "shopify theme open [flags]", - "language": "bash" - } - ], - "title": "theme open" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme open` command:", - "type": "themeopen", - "typeDefinitions": { - "themeopen": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-open.interface.ts", - "name": "themeopen", - "description": "The following flags are available for the `theme open` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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/theme-open.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-open.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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/theme-open.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-d, --development", - "value": "''", - "description": "Open your development theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_DEVELOPMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-open.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-E, --editor", - "value": "''", - "description": "Open the theme editor for the specified theme in the browser.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_EDITOR" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-open.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-open.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-l, --live", - "value": "''", - "description": "Open your live (published) theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LIVE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-open.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-open.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - } - ], - "value": "export interface themeopen {\n /**\n * Open your development theme.\n * @environment SHOPIFY_FLAG_DEVELOPMENT\n */\n '-d, --development'?: ''\n\n /**\n * Open the theme editor for the specified theme in the browser.\n * @environment SHOPIFY_FLAG_EDITOR\n */\n '-E, --editor'?: ''\n\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Open your live (published) theme.\n * @environment SHOPIFY_FLAG_LIVE\n */\n '-l, --live'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme package", - "description": "Packages your local theme files into a ZIP file that can be uploaded to Shopify.\n\n Only folders that match the [default Shopify theme folder structure](/docs/storefronts/themes/tools/cli#directory-structure) are included in the package.\n\n The package includes the `listings` directory if present (required for multi-preset themes per [Theme Store requirements](/docs/storefronts/themes/store/requirements#adding-presets-to-your-theme-zip-submission)).\n\n The ZIP file uses the name `theme_name-theme_version.zip`, based on parameters in your [settings_schema.json](/docs/storefronts/themes/architecture/config/settings-schema-json) file.", - "overviewPreviewDescription": "Package your theme into a .zip file, ready to upload to the Online Store.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme package", - "code": "shopify theme package [flags]", - "language": "bash" - } - ], - "title": "theme package" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme package` command:", - "type": "themepackage", - "typeDefinitions": { - "themepackage": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-package.interface.ts", - "name": "themepackage", - "description": "The following flags are available for the `theme package` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-package.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/theme-package.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-package.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--verbose", - "value": "''", - "description": "Increase the verbosity of the output.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_VERBOSE" - } - ], - "value": "export interface themepackage {\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme preview", - "description": "Applies a JSON overrides file to a theme and creates or updates a preview. This lets you quickly preview changes.\n\n The command returns a preview URL and a preview identifier. You can reuse the preview identifier with `--preview-id` to update an existing preview instead of creating a new one.", - "overviewPreviewDescription": "Applies JSON overrides to a theme and returns a preview URL.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme preview", - "code": "shopify theme preview [flags]", - "language": "bash" - } - ], - "title": "theme preview" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme preview` command:", - "type": "themepreview", - "typeDefinitions": { - "themepreview": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-preview.interface.ts", - "name": "themepreview", - "description": "The following flags are available for the `theme preview` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--json", - "value": "''", - "description": "Output the preview URL and identifier as JSON.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_JSON" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--open", - "value": "''", - "description": "Automatically launch the theme preview in your default web browser.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_OPEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--overrides ", - "value": "string", - "description": "Path to a JSON overrides file.", - "environmentValue": "SHOPIFY_FLAG_OVERRIDES" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--preview-id ", - "value": "string", - "description": "An existing preview identifier to update instead of creating a new preview.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PREVIEW_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-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/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-preview.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - } - ], - "value": "export interface themepreview {\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Output the preview URL and identifier as JSON.\n * @environment SHOPIFY_FLAG_JSON\n */\n '--json'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Automatically launch the theme preview in your default web browser.\n * @environment SHOPIFY_FLAG_OPEN\n */\n '--open'?: ''\n\n /**\n * Path to a JSON overrides file.\n * @environment SHOPIFY_FLAG_OVERRIDES\n */\n '--overrides ': string\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * An existing preview identifier to update instead of creating a new preview.\n * @environment SHOPIFY_FLAG_PREVIEW_ID\n */\n '--preview-id '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme ': string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme profile", - "description": "Profile the Shopify Liquid on a given page.\n\n This command will open a web page with the Speedscope profiler detailing the time spent executing Liquid on the given page.", - "overviewPreviewDescription": "Profile the Liquid rendering of a theme page.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme profile", - "code": "shopify theme profile\n\nshopify theme profile --url /products/classic-leather-jacket", - "language": "bash" - } - ], - "title": "theme profile" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme profile` command:", - "type": "themeprofile", - "typeDefinitions": { - "themeprofile": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-profile.interface.ts", - "name": "themeprofile", - "description": "The following flags are available for the `theme profile` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-profile.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/theme-profile.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-profile.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-profile.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--store-password ", - "value": "string", - "description": "The password for storefronts with password protection.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE_PASSWORD" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-profile.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--url ", - "value": "string", - "description": "The url to be used as context", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_URL" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-profile.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/theme-profile.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-profile.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/theme-profile.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-profile.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - } - ], - "value": "export interface themeprofile {\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: 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 * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * The password for storefronts with password protection.\n * @environment SHOPIFY_FLAG_STORE_PASSWORD\n */\n '--store-password '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * The url to be used as context\n * @environment SHOPIFY_FLAG_URL\n */\n '--url '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme publish", - "description": "Publishes an unpublished theme from your theme library.\n\nIf no theme ID is specified, then you're prompted to select the theme that you want to publish from the list of themes in your store.\n\nYou can run this command only in a directory that matches the [default Shopify theme folder structure](/docs/themes/tools/cli#directory-structure).\n\nIf you want to publish your local theme, then you need to run `shopify theme push` first. You're asked to confirm that you want to publish the specified theme. You can skip this confirmation using the `--force` flag.", - "overviewPreviewDescription": "Set a remote theme as the live theme.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme publish", - "code": "shopify theme publish [flags]", - "language": "bash" - } - ], - "title": "theme publish" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme publish` command:", - "type": "themepublish", - "typeDefinitions": { - "themepublish": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-publish.interface.ts", - "name": "themepublish", - "description": "The following flags are available for the `theme publish` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-publish.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/theme-publish.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-publish.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-publish.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/theme-publish.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-publish.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-f, --force", - "value": "''", - "description": "Skip confirmation.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_FORCE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-publish.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-publish.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - } - ], - "value": "export interface themepublish {\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Skip confirmation.\n * @environment SHOPIFY_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme pull", - "description": "Retrieves theme files from Shopify.\n\nIf no theme is specified, then you're prompted to select the theme to pull from the list of the themes in your store.", - "overviewPreviewDescription": "Download your remote theme files locally.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme pull", - "code": "shopify theme pull [flags]", - "language": "bash" - } - ], - "title": "theme pull" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme pull` command:", - "type": "themepull", - "typeDefinitions": { - "themepull": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "name": "themepull", - "description": "The following flags are available for the `theme pull` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.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/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.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/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-d, --development", - "value": "''", - "description": "Pull theme files from your remote development theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_DEVELOPMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-l, --live", - "value": "''", - "description": "Pull theme files from your remote live theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LIVE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-n, --nodelete", - "value": "''", - "description": "Prevent deleting local files that don't exist remotely.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NODELETE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-o, --only ", - "value": "string", - "description": "Download only the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ONLY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-pull.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-x, --ignore ", - "value": "string", - "description": "Skip downloading the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_IGNORE" - } - ], - "value": "export interface themepull {\n /**\n * Pull theme files from your remote development theme.\n * @environment SHOPIFY_FLAG_DEVELOPMENT\n */\n '-d, --development'?: ''\n\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Skip downloading the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.\n * @environment SHOPIFY_FLAG_IGNORE\n */\n '-x, --ignore '?: string\n\n /**\n * Pull theme files from your remote live theme.\n * @environment SHOPIFY_FLAG_LIVE\n */\n '-l, --live'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Prevent deleting local files that don't exist remotely.\n * @environment SHOPIFY_FLAG_NODELETE\n */\n '-n, --nodelete'?: ''\n\n /**\n * Download only the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.\n * @environment SHOPIFY_FLAG_ONLY\n */\n '-o, --only '?: string\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme push", - "description": "Uploads your local theme files to Shopify, overwriting the remote version if specified.\n\n If no theme is specified, then you're prompted to select the theme to overwrite from the list of the themes in your store.\n\n You can run this command only in a directory that matches the [default Shopify theme folder structure](/docs/themes/tools/cli#directory-structure).\n\n This command returns the following information:\n\n - A link to the [editor](/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.\n\n If you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\n Sample output:\n\n ```json\n {\n \"theme\": {\n \"id\": 108267175958,\n \"name\": \"MyTheme\",\n \"role\": \"unpublished\",\n \"shop\": \"mystore.myshopify.com\",\n \"editor_url\": \"https://mystore.myshopify.com/admin/themes/108267175958/editor\",\n \"preview_url\": \"https://mystore.myshopify.com/?preview_theme_id=108267175958\"\n }\n }\n ```\n ", - "overviewPreviewDescription": "Uploads your local theme files to the connected store, overwriting the remote version if specified.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme push", - "code": "shopify theme push\n\nshopify theme push --unpublished --json", - "language": "bash" - } - ], - "title": "theme push" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme push` command:", - "type": "themepush", - "typeDefinitions": { - "themepush": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "name": "themepush", - "description": "The following flags are available for the `theme push` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--listing ", - "value": "string", - "description": "The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LISTING" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.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/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--strict", - "value": "''", - "description": "Require theme check to pass without errors before pushing. Warnings are allowed.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STRICT_PUSH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.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/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-a, --allow-live", - "value": "''", - "description": "Allow push to a live theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ALLOW_LIVE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-c, --development-context ", - "value": "string", - "description": "Unique identifier for a development theme context (e.g., PR number, branch name). Reuses an existing development theme with this context name, or creates one if none exists.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_DEVELOPMENT_CONTEXT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-d, --development", - "value": "''", - "description": "Push theme files from your remote development theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_DEVELOPMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.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/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-l, --live", - "value": "''", - "description": "Push theme files from your remote live theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LIVE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-n, --nodelete", - "value": "''", - "description": "Prevent deleting remote files that don't exist locally.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NODELETE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-o, --only ", - "value": "string", - "description": "Upload only the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ONLY" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-p, --publish", - "value": "''", - "description": "Publish as the live theme after uploading.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PUBLISH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-u, --unpublished", - "value": "''", - "description": "Create a new unpublished theme and push to it.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_UNPUBLISHED" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-push.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-x, --ignore ", - "value": "string", - "description": "Skip uploading the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_IGNORE" - } - ], - "value": "export interface themepush {\n /**\n * Allow push to a live theme.\n * @environment SHOPIFY_FLAG_ALLOW_LIVE\n */\n '-a, --allow-live'?: ''\n\n /**\n * Push theme files from your remote development theme.\n * @environment SHOPIFY_FLAG_DEVELOPMENT\n */\n '-d, --development'?: ''\n\n /**\n * Unique identifier for a development theme context (e.g., PR number, branch name). Reuses an existing development theme with this context name, or creates one if none exists.\n * @environment SHOPIFY_FLAG_DEVELOPMENT_CONTEXT\n */\n '-c, --development-context '?: string\n\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Skip uploading the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.\n * @environment SHOPIFY_FLAG_IGNORE\n */\n '-x, --ignore '?: 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 listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.\n * @environment SHOPIFY_FLAG_LISTING\n */\n '--listing '?: string\n\n /**\n * Push theme files from your remote live theme.\n * @environment SHOPIFY_FLAG_LIVE\n */\n '-l, --live'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Prevent deleting remote files that don't exist locally.\n * @environment SHOPIFY_FLAG_NODELETE\n */\n '-n, --nodelete'?: ''\n\n /**\n * Upload only the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.\n * @environment SHOPIFY_FLAG_ONLY\n */\n '-o, --only '?: string\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Publish as the live theme after uploading.\n * @environment SHOPIFY_FLAG_PUBLISH\n */\n '-p, --publish'?: ''\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Require theme check to pass without errors before pushing. Warnings are allowed.\n * @environment SHOPIFY_FLAG_STRICT_PUSH\n */\n '--strict'?: ''\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Create a new unpublished theme and push to it.\n * @environment SHOPIFY_FLAG_UNPUBLISHED\n */\n '-u, --unpublished'?: ''\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme rename", - "description": "Renames a theme in your store.\n\n If no theme is specified, then you're prompted to select the theme that you want to rename from the list of themes in your store.\n ", - "overviewPreviewDescription": "Renames an existing theme.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme rename", - "code": "shopify theme rename [flags]", - "language": "bash" - } - ], - "title": "theme rename" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme rename` command:", - "type": "themerename", - "typeDefinitions": { - "themerename": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.interface.ts", - "name": "themerename", - "description": "The following flags are available for the `theme rename` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.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/theme-rename.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.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/theme-rename.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-d, --development", - "value": "''", - "description": "Rename your development theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_DEVELOPMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-l, --live", - "value": "''", - "description": "Rename your remote live theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LIVE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-n, --name ", - "value": "string", - "description": "The new name for the theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_NEW_NAME" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-rename.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-t, --theme ", - "value": "string", - "description": "Theme ID or name of the remote theme.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_THEME_ID" - } - ], - "value": "export interface themerename {\n /**\n * Rename your development theme.\n * @environment SHOPIFY_FLAG_DEVELOPMENT\n */\n '-d, --development'?: ''\n\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * Rename your remote live theme.\n * @environment SHOPIFY_FLAG_LIVE\n */\n '-l, --live'?: ''\n\n /**\n * The new name for the theme.\n * @environment SHOPIFY_FLAG_NEW_NAME\n */\n '-n, --name '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store '?: string\n\n /**\n * Theme ID or name of the remote theme.\n * @environment SHOPIFY_FLAG_THEME_ID\n */\n '-t, --theme '?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "theme share", - "description": "Uploads your theme as a new, unpublished theme in your theme library. The theme is given a randomized name.\n\n This command returns a [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.", - "overviewPreviewDescription": "Creates a shareable, unpublished, and new theme on your theme library with a randomized name.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "theme share", - "code": "shopify theme share [flags]", - "language": "bash" - } - ], - "title": "theme share" - } - }, - "definitions": [ - { - "title": "Flags", - "description": "The following flags are available for the `theme share` command:", - "type": "themeshare", - "typeDefinitions": { - "themeshare": { - "filePath": "docs-shopify.dev/commands/interfaces/theme-share.interface.ts", - "name": "themeshare", - "description": "The following flags are available for the `theme share` command:", - "isPublicDocs": true, - "members": [ - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-share.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--listing ", - "value": "string", - "description": "The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_LISTING" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-share.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/theme-share.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--password ", - "value": "string", - "description": "Password generated from the Theme Access app or an Admin API token.", - "isOptional": true, - "environmentValue": "SHOPIFY_CLI_THEME_TOKEN" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-share.interface.ts", - "syntaxKind": "PropertySignature", - "name": "--path ", - "value": "string", - "description": "The path where you want to run the command. Defaults to the current working directory.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_PATH" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-share.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/theme-share.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-e, --environment ", - "value": "string", - "description": "The environment to apply to the current command.", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_ENVIRONMENT" - }, - { - "filePath": "docs-shopify.dev/commands/interfaces/theme-share.interface.ts", - "syntaxKind": "PropertySignature", - "name": "-s, --store ", - "value": "string", - "description": "Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).", - "isOptional": true, - "environmentValue": "SHOPIFY_FLAG_STORE" - } - ], - "value": "export interface themeshare {\n /**\n * The environment to apply to the current command.\n * @environment SHOPIFY_FLAG_ENVIRONMENT\n */\n '-e, --environment '?: string\n\n /**\n * The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.\n * @environment SHOPIFY_FLAG_LISTING\n */\n '--listing '?: string\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Password generated from the Theme Access app or an Admin API token.\n * @environment SHOPIFY_CLI_THEME_TOKEN\n */\n '--password '?: string\n\n /**\n * The path where you want to run the command. Defaults to the current working directory.\n * @environment SHOPIFY_FLAG_PATH\n */\n '--path '?: string\n\n /**\n * Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).\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}" - } - } - } - ], - "category": "theme", - "related": [] - }, - { - "name": "upgrade", - "description": "Upgrades Shopify CLI using your package manager.", - "overviewPreviewDescription": "Upgrades Shopify CLI.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "upgrade", - "code": "shopify upgrade", - "language": "bash" - } - ], - "title": "upgrade" - } - }, - "definitions": [], - "category": "general commands", - "related": [] - }, - { - "name": "version", - "description": "Shopify CLI version currently installed.", - "overviewPreviewDescription": "Shopify CLI version currently installed.", - "type": "command", - "isVisualComponent": false, - "defaultExample": { - "codeblock": { - "tabs": [ - { - "title": "version", - "code": "shopify version", - "language": "bash" - } - ], - "title": "version" - } - }, - "definitions": [], - "category": "general commands", - "related": [] - } -] \ No newline at end of file diff --git a/docs-shopify.dev/generated/generated_docs_data_v2.json b/docs-shopify.dev/generated/generated_docs_data_v2.json index 71326e7eca9..5fce8cba1ee 100644 --- a/docs-shopify.dev/generated/generated_docs_data_v2.json +++ b/docs-shopify.dev/generated/generated_docs_data_v2.json @@ -1,13 +1,4 @@ { - "DataGeneratedType": { - "docs-shopify.dev/commands/app-build.doc.ts": { - "filePath": "docs-shopify.dev/commands/app-build.doc.ts", - "name": "DataGeneratedType", - "description": "Template schema for reference entity documentation pages.", - "isPublicDocs": true, - "value": "data: ReferenceEntityTemplateSchema = {\n name: 'app build',\n description: `This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](/docs/apps/tools/cli/configuration).\n\n If you're building a [theme app extension](/docs/apps/online-store/theme-app-extensions), then running the \\`build\\` command runs [Theme Check](/docs/themes/tools/theme-check) against your extension to ensure that it's valid.`,\n overviewPreviewDescription: `Build the app, including extensions.`,\n type: 'command',\n isVisualComponent: false,\n defaultExample: {\n codeblock: {\n tabs: [\n {\n title: 'app build',\n code: './examples/app-build.example.sh',\n language: 'bash',\n },\n ],\n title: 'app build',\n },\n },\n definitions: [\n {\n title: 'Flags',\n description: 'The following flags are available for the `app build` command:',\n type: 'appbuild',\n },\n ],\n category: 'app',\n related: [\n ],\n}" - } - }, "appbuild": { "docs-shopify.dev/commands/interfaces/app-build.interface.ts": { "filePath": "docs-shopify.dev/commands/interfaces/app-build.interface.ts", @@ -2757,6 +2748,36 @@ "value": "export interface configautocorrectstatus {\n\n}" } }, + "configautoupgradeoff": { + "docs-shopify.dev/commands/interfaces/config-autoupgrade-off.interface.ts": { + "filePath": "docs-shopify.dev/commands/interfaces/config-autoupgrade-off.interface.ts", + "name": "configautoupgradeoff", + "description": "The following flags are available for the `config autoupgrade off` command:", + "isPublicDocs": true, + "members": [], + "value": "export interface configautoupgradeoff {\n\n}" + } + }, + "configautoupgradeon": { + "docs-shopify.dev/commands/interfaces/config-autoupgrade-on.interface.ts": { + "filePath": "docs-shopify.dev/commands/interfaces/config-autoupgrade-on.interface.ts", + "name": "configautoupgradeon", + "description": "The following flags are available for the `config autoupgrade on` command:", + "isPublicDocs": true, + "members": [], + "value": "export interface configautoupgradeon {\n\n}" + } + }, + "configautoupgradestatus": { + "docs-shopify.dev/commands/interfaces/config-autoupgrade-status.interface.ts": { + "filePath": "docs-shopify.dev/commands/interfaces/config-autoupgrade-status.interface.ts", + "name": "configautoupgradestatus", + "description": "The following flags are available for the `config autoupgrade status` command:", + "isPublicDocs": true, + "members": [], + "value": "export interface configautoupgradestatus {\n\n}" + } + }, "help": { "docs-shopify.dev/commands/interfaces/help.interface.ts": { "filePath": "docs-shopify.dev/commands/interfaces/help.interface.ts", diff --git a/docs-shopify.dev/generated/generated_static_pages.json b/docs-shopify.dev/generated/generated_static_pages.json deleted file mode 100644 index 79a6d9141ba..00000000000 --- a/docs-shopify.dev/generated/generated_static_pages.json +++ /dev/null @@ -1,121 +0,0 @@ -[ - { - "title": "Shopify CLI", - "description": "Shopify CLI is a command-line interface tool that helps you generate and work with Shopify apps, themes and custom storefronts. You can also use it to automate many common development tasks.", - "id": "Shopify CLI", - "image": "/assets/landing-pages/templated-apis/web-pixels-api/landing-page.png", - "darkImage": "/assets/landing-pages/templated-apis/web-pixels-api/landing-page.png", - "sections": [ - { - "type": "Generic", - "anchorLink": "requirements", - "title": "Requirements", - "sectionContent": "\n- [Node.js](https://nodejs.org/en/download/): 20.10 or higher\n- A Node.js package manager: [npm](https://www.npmjs.com/get-npm), [Yarn 1.x](https://classic.yarnpkg.com/lang/en/docs/install), or [pnpm](https://pnpm.io/installation).\n- [Git](https://git-scm.com/downloads): 2.28.0 or higher\n" - }, - { - "type": "Generic", - "anchorLink": "installation", - "title": "Installation", - "sectionContent": "This installs Shopify CLI globally on your system, so you can run `shopify` commands from any directory. Find out more about the available commands by running `shopify` in your terminal.", - "codeblock": { - "title": "", - "tabs": [ - { - "title": "npm", - "code": "npm install -g @shopify/cli@latest\n", - "language": "bash" - }, - { - "title": "yarn", - "code": "yarn global add @shopify/cli@latest\n", - "language": "bash" - }, - { - "title": "pnpm", - "code": "pnpm install -g @shopify/cli@latest\n", - "language": "bash" - }, - { - "title": "homebrew", - "code": "# Only for macOS\nbrew tap shopify/shopify\nbrew install shopify-cli\n", - "language": "bash" - } - ] - } - }, - { - "type": "Generic", - "anchorLink": "commands", - "title": "Commands", - "sectionContent": "\nShopify CLI groups commands into topics. The command syntax is: `shopify [topic] [command]`.\nRefer to each topic section in the sidebar for a list of available commands.\n\nOr, run the `help` command to get this information right in your terminal.\n", - "codeblock": { - "title": "terminal", - "tabs": [ - { - "code": "shopify help\n", - "language": "bash" - } - ] - } - }, - { - "type": "Generic", - "anchorLink": "upgrade", - "sectionContent": "We recommend that you always use the latest version of Shopify CLI if possible. To upgrade, run `version` to check the current version and determine if there are any updates available. Run the [install](#installation) command to upgrade to the latest CLI version.", - "title": "Upgrade Shopify CLI", - "codeblock": { - "title": "terminal", - "tabs": [ - { - "code": "shopify version\n> Current Shopify CLI version: 3.50.0\n> 💡 Version 3.51.0 available!\n\nnpm install -g @shopify/cli@latest\n", - "language": "bash" - } - ] - } - }, - { - "type": "Generic", - "anchorLink": "network-proxy", - "title": "Network proxy configuration", - "sectionContent": "When working behind a network proxy, you can configure Shopify CLI (version 3.78+) to route connections through it:\n\n1. Set the proxy for HTTP traffic:\n\n ```bash\n export SHOPIFY_HTTP_PROXY=http://proxy.com:8080\n ```\n\n2. Optionally, set a different proxy for HTTPS traffic:\n\n ```bash\n export SHOPIFY_HTTPS_PROXY=https://secure-proxy.com:8443\n ```\n\n If not specified, the HTTP proxy will be used for all traffic.\n\n3. For authenticated proxies, include credentials in the URL:\n\n ```bash\n export SHOPIFY_HTTP_PROXY=http://username:password@proxy.com:8080\n ```" - }, - { - "type": "Generic", - "anchorLink": "reporting", - "title": "Usage reporting", - "sectionContent": "Anonymous usage statistics are collected by default. To opt out, you can use the environment variable `SHOPIFY_CLI_NO_ANALYTICS=1`." - }, - { - "type": "Generic", - "anchorLink": "contribute", - "title": "Contribute to Shopify CLI", - "sectionContent": "Shopify CLI is open source. [Learn how to contribute](https://github.com/Shopify/cli/wiki/Contributors:-Introduction) to our GitHub repository." - }, - { - "type": "Generic", - "anchorLink": "help", - "title": "Where to get help", - "sectionContent": "\n- [Shopify CLI and Libraries](https://community.shopify.dev/c/shopify-cli-libraries/14) - Report any issues with the CLI.\n- [Dev Platform](https://community.shopify.dev/c/dev-platform/32) - Ask any questions and learn more about the Dev Platform powering the CLI.\n" - }, - { - "type": "Resource", - "anchorLink": "resources", - "title": "Resources", - "resources": [ - { - "name": "Start building a theme", - "subtitle": "Learn how to set up your theme development environment and create a new theme", - "url": "/docs/themes/getting-started/create", - "type": "component" - }, - { - "name": "Start building an app", - "subtitle": "Learn how to set up your app development environment and start building", - "url": "/docs/apps/getting-started/create", - "type": "tutorial" - } - ] - } - ] - } -] \ No newline at end of file diff --git a/docs-shopify.dev/static/cli.doc.ts b/docs-shopify.dev/static/cli.doc.ts deleted file mode 100644 index 8449574b59c..00000000000 --- a/docs-shopify.dev/static/cli.doc.ts +++ /dev/null @@ -1,139 +0,0 @@ -import {LandingTemplateSchema} from '@shopify/generate-docs' - -const data: LandingTemplateSchema = { - title: 'Shopify CLI', - description: - 'Shopify CLI is a command-line interface tool that helps you generate and work with Shopify apps, themes and custom storefronts. You can also use it to automate many common development tasks.', - id: 'Shopify CLI', - image: '/assets/landing-pages/templated-apis/web-pixels-api/landing-page.png', - darkImage: '/assets/landing-pages/templated-apis/web-pixels-api/landing-page.png', - sections: [ - { - type: 'Generic', - anchorLink: 'requirements', - title: 'Requirements', - sectionContent: ` -- [Node.js](https://nodejs.org/en/download/): 20.10 or higher -- A Node.js package manager: [npm](https://www.npmjs.com/get-npm), [Yarn 1.x](https://classic.yarnpkg.com/lang/en/docs/install), or [pnpm](https://pnpm.io/installation). -- [Git](https://git-scm.com/downloads): 2.28.0 or higher -`, - }, - { - type: 'Generic', - anchorLink: 'installation', - title: 'Installation', - sectionContent: - 'This installs Shopify CLI globally on your system, so you can run `shopify` commands from any directory. Find out more about the available commands by running `shopify` in your terminal.', - codeblock: { - title: '', - tabs: [ - { - title: 'npm', - code: 'examples/install.npm.example.sh', - language: 'bash', - }, - { - title: 'yarn', - code: 'examples/install.yarn.example.sh', - language: 'bash', - }, - { - title: 'pnpm', - code: 'examples/install.pnpm.example.sh', - language: 'bash', - }, - { - title: 'homebrew', - code: 'examples/install.brew.example.sh', - language: 'bash', - }, - ], - }, - }, - { - type: 'Generic', - anchorLink: 'commands', - title: 'Commands', - sectionContent: ` -Shopify CLI groups commands into topics. The command syntax is: \`shopify [topic] [command]\`. -Refer to each topic section in the sidebar for a list of available commands. - -Or, run the \`help\` command to get this information right in your terminal. -`, - codeblock: { - title: 'terminal', - tabs: [ - { - code: 'examples/help.example.sh', - language: 'bash', - }, - ], - }, - }, - { - type: 'Generic', - anchorLink: 'upgrade', - sectionContent: - 'We recommend that you always use the latest version of Shopify CLI if possible. To upgrade, run `version` to check the current version and determine if there are any updates available. Run the [install](#installation) command to upgrade to the latest CLI version.', - title: 'Upgrade Shopify CLI', - codeblock: { - title: 'terminal', - tabs: [ - { - code: 'examples/upgrade.example.sh', - language: 'bash', - }, - ], - }, - }, - { - type: 'Generic', - anchorLink: 'network-proxy', - title: 'Network proxy configuration', - sectionContent: - 'When working behind a network proxy, you can configure Shopify CLI (version 3.78+) to route connections through it:\n\n1. Set the proxy for HTTP traffic:\n\n ```bash\n export SHOPIFY_HTTP_PROXY=http://proxy.com:8080\n ```\n\n2. Optionally, set a different proxy for HTTPS traffic:\n\n ```bash\n export SHOPIFY_HTTPS_PROXY=https://secure-proxy.com:8443\n ```\n\n If not specified, the HTTP proxy will be used for all traffic.\n\n3. For authenticated proxies, include credentials in the URL:\n\n ```bash\n export SHOPIFY_HTTP_PROXY=http://username:password@proxy.com:8080\n ```', - }, - { - type: 'Generic', - anchorLink: 'reporting', - title: 'Usage reporting', - sectionContent: `Anonymous usage statistics are collected by default. To opt out, you can use the environment variable \`SHOPIFY_CLI_NO_ANALYTICS=1\`.`, - }, - { - type: 'Generic', - anchorLink: 'contribute', - title: 'Contribute to Shopify CLI', - sectionContent: `Shopify CLI is open source. [Learn how to contribute](https://github.com/Shopify/cli/wiki/Contributors:-Introduction) to our GitHub repository.`, - }, - { - type: 'Generic', - anchorLink: 'help', - title: 'Where to get help', - sectionContent: ` -- [Shopify CLI and Libraries](https://community.shopify.dev/c/shopify-cli-libraries/14) - Report any issues with the CLI. -- [Dev Platform](https://community.shopify.dev/c/dev-platform/32) - Ask any questions and learn more about the Dev Platform powering the CLI. -`, - }, - { - type: 'Resource', - anchorLink: 'resources', - title: 'Resources', - resources: [ - { - name: 'Start building a theme', - subtitle: 'Learn how to set up your theme development environment and create a new theme', - url: '/docs/themes/getting-started/create', - type: 'component', - }, - { - name: 'Start building an app', - subtitle: 'Learn how to set up your app development environment and start building', - url: '/docs/apps/getting-started/create', - type: 'tutorial', - }, - ], - }, - ], -} - -export default data diff --git a/docs-shopify.dev/static/examples/help.example.sh b/docs-shopify.dev/static/examples/help.example.sh deleted file mode 100644 index d6aa0bed109..00000000000 --- a/docs-shopify.dev/static/examples/help.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify help diff --git a/docs-shopify.dev/static/examples/install.brew.example.sh b/docs-shopify.dev/static/examples/install.brew.example.sh deleted file mode 100644 index 4a3138ed82b..00000000000 --- a/docs-shopify.dev/static/examples/install.brew.example.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Only for macOS -brew tap shopify/shopify -brew install shopify-cli diff --git a/docs-shopify.dev/static/examples/install.npm.example.sh b/docs-shopify.dev/static/examples/install.npm.example.sh deleted file mode 100644 index 1c53fd10f75..00000000000 --- a/docs-shopify.dev/static/examples/install.npm.example.sh +++ /dev/null @@ -1 +0,0 @@ -npm install -g @shopify/cli@latest diff --git a/docs-shopify.dev/static/examples/install.pnpm.example.sh b/docs-shopify.dev/static/examples/install.pnpm.example.sh deleted file mode 100644 index c946c9b5126..00000000000 --- a/docs-shopify.dev/static/examples/install.pnpm.example.sh +++ /dev/null @@ -1 +0,0 @@ -pnpm install -g @shopify/cli@latest diff --git a/docs-shopify.dev/static/examples/install.yarn.example.sh b/docs-shopify.dev/static/examples/install.yarn.example.sh deleted file mode 100644 index eb87dfc3cbd..00000000000 --- a/docs-shopify.dev/static/examples/install.yarn.example.sh +++ /dev/null @@ -1 +0,0 @@ -yarn global add @shopify/cli@latest diff --git a/docs-shopify.dev/static/examples/upgrade.example.sh b/docs-shopify.dev/static/examples/upgrade.example.sh deleted file mode 100644 index a2646593b77..00000000000 --- a/docs-shopify.dev/static/examples/upgrade.example.sh +++ /dev/null @@ -1,5 +0,0 @@ -shopify version -> Current Shopify CLI version: 3.50.0 -> 💡 Version 3.51.0 available! - -npm install -g @shopify/cli@latest diff --git a/docs-shopify.dev/static/examples/version.example.sh b/docs-shopify.dev/static/examples/version.example.sh deleted file mode 100644 index 094a9938a6d..00000000000 --- a/docs-shopify.dev/static/examples/version.example.sh +++ /dev/null @@ -1 +0,0 @@ -shopify version diff --git a/package.json b/package.json index 19baee5e6eb..b28c596c238 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@nx/workspace": "22.0.2", "@octokit/rest": "22.0.0", "@shopify/eslint-plugin-cli": "file:packages/eslint-plugin-cli", - "@shopify/generate-docs": "1.1.1", + "@shopify/generate-docs": "1.2.0", "@types/node": "18.19.70", "@typescript-eslint/parser": "8.56.1", "@vitest/coverage-istanbul": "^3.1.4", @@ -149,7 +149,9 @@ "ignoreBinaries": [ "playwright" ], - "ignoreDependencies": [], + "ignoreDependencies": [ + "@shopify/generate-docs" + ], "ignoreWorkspaces": [ "packages/eslint-plugin-cli", "packages/e2e" diff --git a/packages/cli/src/cli/commands/docs/generate.test.ts b/packages/cli/src/cli/commands/docs/generate.test.ts index 5b4384d139f..7dab0a80478 100644 --- a/packages/cli/src/cli/commands/docs/generate.test.ts +++ b/packages/cli/src/cli/commands/docs/generate.test.ts @@ -1,11 +1,4 @@ -import { - CommandData, - CommandWithMarkdown, - extractCommandData, - writeCommandDocumentation, - writeCommandFlagInterface, - writeCommandUsageExampleFile, -} from './generate.js' +import {CommandData, CommandWithMarkdown, extractCommandData, writeCommandFlagInterface} from './generate.js' import {writeFile} from '@shopify/cli-kit/node/fs' import {describe, test, vi, expect} from 'vitest' @@ -43,9 +36,6 @@ const commandData: CommandData = { commandName: 'topic test-command', fileName: 'topic-test-command', interfaceName: 'topictestcommand', - hasTopic: true, - topic: 'topic', - hasFlags: true, } describe('extractCommandData', () => { @@ -99,58 +89,3 @@ export interface topictestcommand { ) }) }) - -describe('writeCommandDocs', () => { - test('calls writeFile with the correct content', async () => { - await writeCommandDocumentation(testCommand, commandData) - - expect(writeFile).toHaveBeenCalledWith( - expect.stringContaining('docs-shopify.dev/commands/topic-test-command.doc.ts'), - `// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: 'topic test-command', - description: \`command markdown description\`, - overviewPreviewDescription: \`command summary\`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: 'topic test-command', - code: './examples/topic-test-command.example.sh', - language: 'bash', - }, - ], - title: 'topic test-command', - }, - }, - definitions: [ - { - title: 'Flags', - description: 'The following flags are available for the \`topic test-command\` command:', - type: 'topictestcommand', - }, - ], - category: 'topic', - related: [ - ], -} - -export default data`, - ) - }) -}) - -describe('writeCommandUsageExampleFile', () => { - test('calls writeFile with the correct content', async () => { - await writeCommandUsageExampleFile(testCommand, commandData) - - expect(writeFile).toHaveBeenCalledWith( - expect.stringContaining('docs-shopify.dev/commands/examples/topic-test-command.example.sh'), - 'shopify topic test-command [flags]', - ) - }) -}) diff --git a/packages/cli/src/cli/commands/docs/generate.ts b/packages/cli/src/cli/commands/docs/generate.ts index 64a885ca366..b90da1a97d2 100644 --- a/packages/cli/src/cli/commands/docs/generate.ts +++ b/packages/cli/src/cli/commands/docs/generate.ts @@ -2,7 +2,6 @@ import Command from '@shopify/cli-kit/node/base-command' import {Command as oclifCommand} from '@oclif/core' import {mkdir, rmdir, writeFile} from '@shopify/cli-kit/node/fs' import {cwd, joinPath} from '@shopify/cli-kit/node/path' -import {outputInfo} from '@shopify/cli-kit/node/output' const docsPath = joinPath(cwd(), '/docs-shopify.dev/commands') @@ -12,9 +11,6 @@ export interface CommandData { commandName: string fileName: string interfaceName: string - hasTopic: boolean - topic: string | undefined - hasFlags: boolean } export default class DocsGenerate extends Command { @@ -32,13 +28,9 @@ export default class DocsGenerate extends Command { const sortedCommands = commands .sort((ca, cb) => ca.id.length - cb.id.length) .filter((command) => !isHidden(command)) - const promises = sortedCommands.flatMap((command) => { + const promises = sortedCommands.map((command) => { const commandData = extractCommandData(command) - return [ - writeCommandFlagInterface(command, commandData), - writeCommandUsageExampleFile(command, commandData), - writeCommandDocumentation(command, commandData), - ] + return writeCommandFlagInterface(command, commandData) }) await Promise.all(promises) @@ -48,9 +40,6 @@ export default class DocsGenerate extends Command { // By default we hide oclif commands that are not part of the Shopify CLI documentation const hiddenTopics: string[] = ['commands', 'help', 'plugins'] -// Topics that are included in the general commands category -const generalTopics: string[] = ['config', 'auth', 'organization'] - function isHidden(command: oclifCommand.Loadable) { // Some commands rely on the hidden property of the parent topic, but is not returned in the oclif command object if (command.hidden) { @@ -67,65 +56,7 @@ export function extractCommandData(command: CommandWithMarkdown) { const commandName = command.id.replace(/[:]/g, ' ') const fileName = command.id.replace(/[:]/g, '-') const interfaceName = command.id.replace(/[:-]/g, '') - const hasTopic = command.id.includes(':') - const topic = command.id.split(':')[0] - const hasFlags = command.flags && Object.keys(command.flags).length > 0 - return {commandName, fileName, interfaceName, hasTopic, topic, hasFlags} -} - -// Generates the documentation for a command and writes it to a file (also a file with an example usage of the command) -export async function writeCommandDocumentation( - command: CommandWithMarkdown, - {commandName, fileName, interfaceName, hasTopic, topic, hasFlags}: CommandData, -) { - const flagDoc = ` - { - title: 'Flags', - description: 'The following flags are available for the \`${commandName}\` command:', - type: '${interfaceName}', - },` - - const description = command.descriptionWithMarkdown ?? command.description ?? command.summary ?? '' - const cleanDescription = description?.replace(/`/g, '\\`').replace(/https:\/\/shopify\.dev/g, '') - const previewDescription = command.summary ?? description ?? '' - const cleanPreview = previewDescription.replace(/`/g, '\\`').replace(/https:\/\/shopify\.dev/g, '') - - const category = hasTopic && !generalTopics.includes(topic!) ? topic : 'general commands' - - const docString = `// This is an autogenerated file. Don't edit this file manually. -import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' - -const data: ReferenceEntityTemplateSchema = { - name: '${commandName}', - description: \`${cleanDescription}\`, - overviewPreviewDescription: \`${cleanPreview}\`, - type: 'command', - isVisualComponent: false, - defaultExample: { - codeblock: { - tabs: [ - { - title: '${commandName}', - code: './examples/${fileName}.example.sh', - language: 'bash', - }, - ], - title: '${commandName}', - }, - }, - definitions: [${hasFlags ? flagDoc : ''} - ], - category: '${category}', - related: [ - ], -} - -export default data` - - const updatedDocString = docString.replace(/<%= config\.bin %>/g, 'shopify') - - await writeFile(`${docsPath}/${fileName}.doc.ts`, updatedDocString) - outputInfo(`Generated docs for ${commandName}`) + return {commandName, fileName, interfaceName} } // Generates an interface for the flags of a command and writes it to a file @@ -168,22 +99,3 @@ ${flagsDetails} await mkdir(`${docsPath}/interfaces`) await writeFile(`${docsPath}/interfaces/${fileName}.interface.ts`, commandContent) } - -// Generates a file with an example usage of a command -export async function writeCommandUsageExampleFile(command: CommandWithMarkdown, {fileName, commandName}: CommandData) { - let usage = '' - const hasFlags = command.flags && Object.keys(command.flags).length > 0 - if (typeof command.usage === 'string') { - usage = prependShopify(command.usage) - } else if (Array.isArray(command.usage)) { - usage = command.usage.map((usage) => prependShopify(usage)).join('\n\n') - } else { - usage = `${prependShopify(commandName)}${hasFlags ? ' [flags]' : ''}` - } - await mkdir(`${docsPath}/examples`) - await writeFile(`${docsPath}/examples/${fileName}.example.sh`, usage) -} - -function prependShopify(command: string) { - return command.startsWith('shopify ') ? command : `shopify ${command}` -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7d78a95be7c..8bcc4c6d6ab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,8 +53,8 @@ importers: specifier: file:packages/eslint-plugin-cli version: file:packages/eslint-plugin-cli(@typescript-eslint/utils@8.56.1(eslint@9.39.3(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.3(jiti@2.6.1))(prettier@3.8.1)(typescript@5.9.3)(vitest@3.2.4(@types/node@18.19.70)(jiti@2.6.1)(jsdom@28.1.0)(msw@2.12.10(@types/node@18.19.70)(typescript@5.9.3))(sass@1.97.3)(tsx@4.21.0)(yaml@2.8.3)) '@shopify/generate-docs': - specifier: 1.1.1 - version: 1.1.1 + specifier: 1.2.0 + version: 1.2.0 '@types/node': specifier: 18.19.70 version: 18.19.70 @@ -3695,8 +3695,8 @@ packages: peerDependencies: eslint: ^9.27.0 - '@shopify/generate-docs@1.1.1': - resolution: {integrity: sha512-HbvKMoN7Yr8MAbmJEhBlL6G8rqACVhz7MW1H/GeG7aS9rlcaf4NqDF1SVj8RIq76R7dkQEneajKdo5wMfV0oKg==} + '@shopify/generate-docs@1.2.0': + resolution: {integrity: sha512-/+wkOWH0o9ZdXQhNbyYOqxTucHTisubVzHAHDhTqOzxcvDuPLfveShLzMEzTWgYx9x8ORwirOWI+dYBulVvs9w==} hasBin: true '@shopify/liquid-html-parser@2.9.2': @@ -12925,7 +12925,7 @@ snapshots: - supports-color - typescript - '@shopify/generate-docs@1.1.1': + '@shopify/generate-docs@1.2.0': dependencies: '@types/react': 18.3.12 globby: 11.1.0