diff --git a/package.json b/package.json index 646af72a83..1c830c1c08 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "liquidjs": "10.20.1", "node-fetch": "^3.3.2", "nx": "22.4.4", - "oclif": "4.22.29", + "oclif": "4.22.73", "octokit-plugin-create-pull-request": "^3.12.2", "pathe": "1.1.1", "pin-github-action": "^3.3.1", diff --git a/packages/cli/README.md b/packages/cli/README.md index 3c02585b24..82416a8fed 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -102,13 +102,14 @@ USAGE [--skip-dependencies-installation] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --skip-dependencies-installation Skips the installation of dependencies. Deprecated, use workspaces instead. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --skip-dependencies-installation [env: SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION] Skips the installation of + dependencies. Deprecated, use workspaces instead. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Build the app, including extensions. @@ -132,14 +133,14 @@ USAGE ] [-s ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - -s, --store= The store domain. Must be an existing dev store. - --client-id= The Client ID of your app. - --id= (required) The bulk operation ID to cancel (numeric ID or full GID). - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -s, --store= [env: SHOPIFY_FLAG_STORE] The store domain. Must be an existing dev store. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --id= (required) [env: SHOPIFY_FLAG_ID] The bulk operation ID to cancel (numeric ID or full GID). + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Cancel a bulk operation. @@ -158,24 +159,26 @@ USAGE [--verbose] [--version ] FLAGS - -c, --config= The name of the app configuration. - -q, --query= The GraphQL query or mutation to run as a bulk operation. - -s, --store= The store domain. Must be an existing dev store. - -v, --variables=... The values for any GraphQL variables in your mutation, in JSON format. Can be specified - multiple times. - --client-id= The Client ID of your app. - --no-color Disable color output. - --output-file= The file path where results should be written if --watch is specified. If not specified, - results will be written to STDOUT. - --path= The path to your app directory. - --query-file= Path to a file containing the GraphQL query or mutation. Can't be used with --query. - --reset Reset all your settings. - --variable-file= Path to a file containing GraphQL variables in JSONL format (one JSON object per line). - Can't be used with --variables. - --verbose Increase the verbosity of the output. - --version= The API version to use for the bulk operation. If not specified, uses the latest stable - version. - --watch Wait for bulk operation results before exiting. Defaults to false. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -q, --query= [env: SHOPIFY_FLAG_QUERY] The GraphQL query or mutation to run as a bulk operation. + -s, --store= [env: SHOPIFY_FLAG_STORE] The store domain. Must be an existing dev store. + -v, --variables=... [env: SHOPIFY_FLAG_VARIABLES] The values for any GraphQL variables in your mutation, in + JSON format. Can be specified multiple times. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --output-file= [env: SHOPIFY_FLAG_OUTPUT_FILE] The file path where results should be written if --watch + is specified. If not specified, results will be written to STDOUT. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --query-file= [env: SHOPIFY_FLAG_QUERY_FILE] Path to a file containing the GraphQL query or mutation. + Can't be used with --query. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --variable-file= [env: SHOPIFY_FLAG_VARIABLE_FILE] Path to a file containing GraphQL variables in JSONL + format (one JSON object per line). Can't be used with --variables. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. + --version= [env: SHOPIFY_FLAG_VERSION] The API version to use for the bulk operation. If not + specified, uses the latest stable version. + --watch [env: SHOPIFY_FLAG_WATCH] Wait for bulk operation results before exiting. Defaults to + false. DESCRIPTION Execute bulk operations. @@ -201,15 +204,15 @@ USAGE | ] [-s ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - -s, --store= The store domain. Must be an existing dev store. - --client-id= The Client ID of your app. - --id= 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. - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -s, --store= [env: SHOPIFY_FLAG_STORE] The store domain. Must be an existing dev store. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --id= [env: SHOPIFY_FLAG_ID] 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. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Check the status of bulk operations. @@ -233,12 +236,12 @@ USAGE $ shopify app config link [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Fetch your app configuration from the Developer Dashboard. @@ -259,12 +262,12 @@ USAGE $ shopify app config pull [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Refresh an already-linked app configuration without prompts. @@ -284,14 +287,14 @@ USAGE $ shopify app config use [config] [flags] ARGUMENTS - CONFIG The name of the app configuration. Can be 'shopify.app.staging.toml' or simply 'staging'. + [CONFIG] The name of the app configuration. Can be 'shopify.app.staging.toml' or simply 'staging'. FLAGS - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Activate an app configuration. @@ -311,28 +314,32 @@ USAGE [--verbose] [--version ] FLAGS - -c, --config= The name of the app configuration. - -f, --force Deploy without asking for confirmation. Equivalent to --allow-updates - --allow-deletes. For CI/CD environments, the recommended flag is --allow-updates. - --allow-deletes Allows removing extensions and configuration without requiring user confirmation. - For CI/CD environments, the recommended flag is --allow-updates. - --allow-updates Allows adding and updating extensions and configuration without requiring user - confirmation. Recommended option for CI/CD environments. - --client-id= The Client ID of your app. - --message= Optional message that will be associated with this version. This is for internal use - only and won't be available externally. - --no-build 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. - --no-color Disable color output. - --no-release Creates a version but doesn't release it - it's not made available to merchants. - With this flag, a user confirmation is not required. - --path= The path to your app directory. - --reset Reset all your settings. - --source-control-url= URL associated with the new app version. - --verbose Increase the verbosity of the output. - --version= 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. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -f, --force [env: SHOPIFY_FLAG_FORCE] Deploy without asking for confirmation. Equivalent to + --allow-updates --allow-deletes. For CI/CD environments, the recommended flag is + --allow-updates. + --allow-deletes [env: SHOPIFY_FLAG_ALLOW_DELETES] Allows removing extensions and configuration + without requiring user confirmation. For CI/CD environments, the recommended flag is + --allow-updates. + --allow-updates [env: SHOPIFY_FLAG_ALLOW_UPDATES] Allows adding and updating extensions and + configuration without requiring user confirmation. Recommended option for CI/CD + environments. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --message= [env: SHOPIFY_FLAG_MESSAGE] Optional message that will be associated with this + version. This is for internal use only and won't be available externally. + --no-build [env: SHOPIFY_FLAG_NO_BUILD] 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. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --no-release [env: SHOPIFY_FLAG_NO_RELEASE] Creates a version but doesn't release it - it's not + made available to merchants. With this flag, a user confirmation is not required. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --source-control-url= [env: SHOPIFY_FLAG_SOURCE_CONTROL_URL] URL associated with the new app version. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. + --version= [env: SHOPIFY_FLAG_VERSION] 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. DESCRIPTION Deploy your Shopify app. @@ -359,29 +366,35 @@ USAGE [--theme-app-extension-port ] [--use-localhost | [--tunnel-url | ]] [--verbose] FLAGS - -c, --config= The name of the app configuration. - -s, --store= Store URL. Must be an existing development or Shopify Plus sandbox store. - -t, --theme= Theme ID or name of the theme app extension host theme. - --checkout-cart-url= Resource URL for checkout UI extension. Format: - "/cart/{productVariantID}:{productQuantity}" - --client-id= The Client ID of your app. - --localhost-port= Port to use for localhost. - --no-color Disable color output. - --no-update Uses the app URL from the toml file instead an autogenerated URL for dev. - --notify= 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. - --path= The path to your app directory. - --reset Reset all your settings. - --skip-dependencies-installation Skips the installation of dependencies. Deprecated, use workspaces instead. - --subscription-product-url= Resource URL for subscription UI extension. Format: "/products/{productId}" - --theme-app-extension-port= Local port of the theme app extension development server. - --tunnel-url= Use a custom tunnel, it must be running before executing dev. Format: - "https://my-tunnel-url:port". - --use-localhost 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) - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -s, --store= [env: SHOPIFY_FLAG_STORE] Store URL. Must be an existing development or + Shopify Plus sandbox store. + -t, --theme= [env: SHOPIFY_FLAG_THEME] Theme ID or name of the theme app extension host + theme. + --checkout-cart-url= [env: SHOPIFY_FLAG_CHECKOUT_CART_URL] Resource URL for checkout UI extension. + Format: "/cart/{productVariantID}:{productQuantity}" + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --localhost-port= [env: SHOPIFY_FLAG_LOCALHOST_PORT] Port to use for localhost. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --no-update [env: SHOPIFY_FLAG_NO_UPDATE] Uses the app URL from the toml file instead an + autogenerated URL for dev. + --notify= [env: SHOPIFY_FLAG_NOTIFY] 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. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --skip-dependencies-installation [env: SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION] Skips the installation of + dependencies. Deprecated, use workspaces instead. + --subscription-product-url= [env: SHOPIFY_FLAG_SUBSCRIPTION_PRODUCT_URL] Resource URL for subscription UI + extension. Format: "/products/{productId}" + --theme-app-extension-port= [env: SHOPIFY_FLAG_THEME_APP_EXTENSION_PORT] Local port of the theme app + extension development server. + --tunnel-url= [env: SHOPIFY_FLAG_TUNNEL_URL] Use a custom tunnel, it must be running before + executing dev. Format: "https://my-tunnel-url:port". + --use-localhost [env: SHOPIFY_FLAG_USE_LOCALHOST] 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) + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Run the app. @@ -400,13 +413,13 @@ USAGE ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - -s, --store= Store URL. Must be an existing development store. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -s, --store= [env: SHOPIFY_FLAG_STORE] Store URL. Must be an existing development store. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Cleans up the dev preview from the selected store. @@ -426,13 +439,13 @@ USAGE [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --client-id= The Client ID of your app. - --env-file= Specify an environment file to update if the update flag is set - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --env-file= [env: SHOPIFY_FLAG_ENV_FILE] Specify an environment file to update if the update flag is set + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Pull app and extensions environment variables. @@ -452,12 +465,12 @@ USAGE $ shopify app env show [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Display app and extensions environment variables. @@ -476,21 +489,26 @@ USAGE [--version ] FLAGS - -c, --config= The name of the app configuration. - -q, --query= The GraphQL query or mutation, as a string. - -s, --store= 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. - -v, --variables= The values for any GraphQL variables in your query or mutation, in JSON format. - --client-id= The Client ID of your app. - --no-color Disable color output. - --output-file= The file name where results should be written, instead of STDOUT. - --path= The path to your app directory. - --query-file= Path to a file containing the GraphQL query or mutation. Can't be used with --query. - --reset Reset all your settings. - --variable-file= Path to a file containing GraphQL variables in JSON format. Can't be used with - --variables. - --verbose Increase the verbosity of the output. - --version= The API version to use for the query or mutation. Defaults to the latest stable version. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -q, --query= [env: SHOPIFY_FLAG_QUERY] The GraphQL query or mutation, as a string. + -s, --store= [env: SHOPIFY_FLAG_STORE] 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. + -v, --variables= [env: SHOPIFY_FLAG_VARIABLES] The values for any GraphQL variables in your query or + mutation, in JSON format. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --output-file= [env: SHOPIFY_FLAG_OUTPUT_FILE] The file name where results should be written, instead of + STDOUT. + --path= [env: SHOPIFY_FLAG_PATH] The path to your app directory. + --query-file= [env: SHOPIFY_FLAG_QUERY_FILE] Path to a file containing the GraphQL query or mutation. + Can't be used with --query. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --variable-file= [env: SHOPIFY_FLAG_VARIABLE_FILE] Path to a file containing GraphQL variables in JSON + format. Can't be used with --variables. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. + --version= [env: SHOPIFY_FLAG_VERSION] The API version to use for the query or mutation. Defaults to + the latest stable version. DESCRIPTION Execute GraphQL queries and mutations. @@ -510,12 +528,12 @@ USAGE $ shopify app function build [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your function directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your function directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Compile a function to wasm. @@ -533,13 +551,13 @@ USAGE [--verbose] FLAGS - -c, --config= The name of the app configuration. - -j, --json Output the result as JSON. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your function directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -j, --json [env: SHOPIFY_FLAG_JSON] Output the result as JSON. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your function directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Print basic information about your function. @@ -565,16 +583,17 @@ USAGE [--reset | ] [--verbose] [-w] FLAGS - -c, --config= The name of the app configuration. - -j, --json Output the result as JSON. - -l, --log= 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. - -w, --[no-]watch Re-run the function when the source code changes. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your function directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -j, --json [env: SHOPIFY_FLAG_JSON] Output the result as JSON. + -l, --log= [env: SHOPIFY_FLAG_LOG] 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. + -w, --[no-]watch [env: SHOPIFY_FLAG_WATCH] Re-run the function when the source code changes. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your function directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Replays a function run from an app log. @@ -594,15 +613,16 @@ USAGE ] [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - -e, --export= Name of the WebAssembly export to invoke. - -i, --input= The input JSON to pass to the function. If omitted, standard input is used. - -j, --json Output the result as JSON. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your function directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + -e, --export= [env: SHOPIFY_FLAG_EXPORT] Name of the WebAssembly export to invoke. + -i, --input= [env: SHOPIFY_FLAG_INPUT] The input JSON to pass to the function. If omitted, standard input + is used. + -j, --json [env: SHOPIFY_FLAG_JSON] Output the result as JSON. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your function directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Run a function locally for testing. @@ -622,13 +642,13 @@ USAGE [--verbose] FLAGS - -c, --config= The name of the app configuration. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your function directory. - --reset Reset all your settings. - --stdout Output the schema to stdout instead of writing to a file. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your function directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --stdout [env: SHOPIFY_FLAG_STDOUT] Output the schema to stdout instead of writing to a file. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Fetch the latest GraphQL schema for a function. @@ -650,12 +670,12 @@ USAGE [--verbose] FLAGS - -c, --config= The name of the app configuration. - --client-id= The Client ID of your app. - --no-color Disable color output. - --path= The path to your function directory. - --reset Reset all your settings. - --verbose Increase the verbosity of the output. + -c, --config= [env: SHOPIFY_FLAG_APP_CONFIG] The name of the app configuration. + --client-id= [env: SHOPIFY_FLAG_CLIENT_ID] The Client ID of your app. + --no-color [env: SHOPIFY_FLAG_NO_COLOR] Disable color output. + --path= [env: SHOPIFY_FLAG_PATH] The path to your function directory. + --reset [env: SHOPIFY_FLAG_RESET] Reset all your settings. + --verbose [env: SHOPIFY_FLAG_VERBOSE] Increase the verbosity of the output. DESCRIPTION Generate GraphQL types for a JavaScript function. @@ -675,17 +695,17 @@ USAGE ] [-t ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - -n, --name= name of your Extension - -t, --template= Extension template - -t, --type= Deprecated. Please use --template - --client-id= The Client ID of your app. - --flavor=