diff --git a/docs-shopify.dev/commands/interfaces/app-build.interface.ts b/docs-shopify.dev/commands/interfaces/app-build.interface.ts index cc24a0645df..b9ad844ccb8 100644 --- a/docs-shopify.dev/commands/interfaces/app-build.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-build.interface.ts @@ -1,7 +1,7 @@ // This is an autogenerated file. Don't edit this file manually. export interface appbuild { /** - * Application's Client ID that will be exposed at build time. + * The Client ID of your app. * @environment SHOPIFY_FLAG_CLIENT_ID */ '--client-id '?: string @@ -24,6 +24,12 @@ export interface appbuild { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Skips the installation of dependencies. Deprecated, use workspaces instead. * @environment SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION diff --git a/docs-shopify.dev/commands/interfaces/app-config-link.interface.ts b/docs-shopify.dev/commands/interfaces/app-config-link.interface.ts index a9cda363b6b..66f2daca741 100644 --- a/docs-shopify.dev/commands/interfaces/app-config-link.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-config-link.interface.ts @@ -24,6 +24,12 @@ export interface appconfiglink { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-config-use.interface.ts b/docs-shopify.dev/commands/interfaces/app-config-use.interface.ts index 604d8203276..067b2ec6e0c 100644 --- a/docs-shopify.dev/commands/interfaces/app-config-use.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-config-use.interface.ts @@ -1,5 +1,11 @@ // This is an autogenerated file. Don't edit this file manually. export interface appconfiguse { + /** + * The Client ID of your app. + * @environment SHOPIFY_FLAG_CLIENT_ID + */ + '--client-id '?: string + /** * Disable color output. * @environment SHOPIFY_FLAG_NO_COLOR @@ -13,7 +19,7 @@ export interface appconfiguse { '--path '?: string /** - * Reset current configuration. + * Reset all your settings. * @environment SHOPIFY_FLAG_RESET */ '--reset'?: '' diff --git a/docs-shopify.dev/commands/interfaces/app-env-pull.interface.ts b/docs-shopify.dev/commands/interfaces/app-env-pull.interface.ts index 13e2b6caa3e..e19d2874d04 100644 --- a/docs-shopify.dev/commands/interfaces/app-env-pull.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-env-pull.interface.ts @@ -1,5 +1,11 @@ // This is an autogenerated file. Don't edit this file manually. export interface appenvpull { + /** + * The Client ID of your app. + * @environment SHOPIFY_FLAG_CLIENT_ID + */ + '--client-id '?: string + /** * The name of the app configuration. * @environment SHOPIFY_FLAG_APP_CONFIG @@ -24,6 +30,12 @@ export interface appenvpull { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-env-show.interface.ts b/docs-shopify.dev/commands/interfaces/app-env-show.interface.ts index d18dd6d7952..f425139c38c 100644 --- a/docs-shopify.dev/commands/interfaces/app-env-show.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-env-show.interface.ts @@ -1,5 +1,11 @@ // This is an autogenerated file. Don't edit this file manually. export interface appenvshow { + /** + * The Client ID of your app. + * @environment SHOPIFY_FLAG_CLIENT_ID + */ + '--client-id '?: string + /** * The name of the app configuration. * @environment SHOPIFY_FLAG_APP_CONFIG @@ -18,6 +24,12 @@ export interface appenvshow { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-function-build.interface.ts b/docs-shopify.dev/commands/interfaces/app-function-build.interface.ts index 91f71698ba2..c6795e1e713 100644 --- a/docs-shopify.dev/commands/interfaces/app-function-build.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-function-build.interface.ts @@ -1,5 +1,11 @@ // This is an autogenerated file. Don't edit this file manually. export interface appfunctionbuild { + /** + * The Client ID of your app. + * @environment SHOPIFY_FLAG_CLIENT_ID + */ + '--client-id '?: string + /** * The name of the app configuration. * @environment SHOPIFY_FLAG_APP_CONFIG @@ -18,6 +24,12 @@ export interface appfunctionbuild { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts b/docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts index f7ed1544468..534052e7fcc 100644 --- a/docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts @@ -1,7 +1,7 @@ // This is an autogenerated file. Don't edit this file manually. export interface appfunctionreplay { /** - * Application's Client ID + * The Client ID of your app. * @environment SHOPIFY_FLAG_CLIENT_ID */ '--client-id '?: string @@ -36,6 +36,12 @@ export interface appfunctionreplay { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-function-run.interface.ts b/docs-shopify.dev/commands/interfaces/app-function-run.interface.ts index c61acf6c36e..3e13075ee10 100644 --- a/docs-shopify.dev/commands/interfaces/app-function-run.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-function-run.interface.ts @@ -1,5 +1,11 @@ // This is an autogenerated file. Don't edit this file manually. export interface appfunctionrun { + /** + * The Client ID of your app. + * @environment SHOPIFY_FLAG_CLIENT_ID + */ + '--client-id '?: string + /** * The name of the app configuration. * @environment SHOPIFY_FLAG_APP_CONFIG @@ -36,6 +42,12 @@ export interface appfunctionrun { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-function-schema.interface.ts b/docs-shopify.dev/commands/interfaces/app-function-schema.interface.ts index f8552495352..09e8f37c498 100644 --- a/docs-shopify.dev/commands/interfaces/app-function-schema.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-function-schema.interface.ts @@ -1,7 +1,7 @@ // This is an autogenerated file. Don't edit this file manually. export interface appfunctionschema { /** - * The Client ID to fetch the schema with. + * The Client ID of your app. * @environment SHOPIFY_FLAG_CLIENT_ID */ '--client-id '?: string @@ -24,6 +24,12 @@ export interface appfunctionschema { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Output the schema to stdout instead of writing to a file. * @environment SHOPIFY_FLAG_STDOUT diff --git a/docs-shopify.dev/commands/interfaces/app-function-typegen.interface.ts b/docs-shopify.dev/commands/interfaces/app-function-typegen.interface.ts index 3d5a1434f3f..aae24d3e95e 100644 --- a/docs-shopify.dev/commands/interfaces/app-function-typegen.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-function-typegen.interface.ts @@ -1,5 +1,11 @@ // This is an autogenerated file. Don't edit this file manually. export interface appfunctiontypegen { + /** + * The Client ID of your app. + * @environment SHOPIFY_FLAG_CLIENT_ID + */ + '--client-id '?: string + /** * The name of the app configuration. * @environment SHOPIFY_FLAG_APP_CONFIG @@ -18,6 +24,12 @@ export interface appfunctiontypegen { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-import-extensions.interface.ts b/docs-shopify.dev/commands/interfaces/app-import-extensions.interface.ts index b359945485e..09132bc64a4 100644 --- a/docs-shopify.dev/commands/interfaces/app-import-extensions.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-import-extensions.interface.ts @@ -24,6 +24,12 @@ export interface appimportextensions { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-info.interface.ts b/docs-shopify.dev/commands/interfaces/app-info.interface.ts index 9c0de90ee96..942bc6e9606 100644 --- a/docs-shopify.dev/commands/interfaces/app-info.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-info.interface.ts @@ -1,5 +1,11 @@ // This is an autogenerated file. Don't edit this file manually. export interface appinfo { + /** + * The Client ID of your app. + * @environment SHOPIFY_FLAG_CLIENT_ID + */ + '--client-id '?: string + /** * The name of the app configuration. * @environment SHOPIFY_FLAG_APP_CONFIG @@ -24,6 +30,12 @@ export interface appinfo { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-logs-sources.interface.ts b/docs-shopify.dev/commands/interfaces/app-logs-sources.interface.ts index 470af31e2c5..f4279a1301a 100644 --- a/docs-shopify.dev/commands/interfaces/app-logs-sources.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-logs-sources.interface.ts @@ -1,5 +1,11 @@ // This is an autogenerated file. Don't edit this file manually. export interface applogssources { + /** + * The Client ID of your app. + * @environment SHOPIFY_FLAG_CLIENT_ID + */ + '--client-id '?: string + /** * The name of the app configuration. * @environment SHOPIFY_FLAG_APP_CONFIG @@ -18,6 +24,12 @@ export interface applogssources { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-versions-list.interface.ts b/docs-shopify.dev/commands/interfaces/app-versions-list.interface.ts index 0638ef3d92b..eda211aa75a 100644 --- a/docs-shopify.dev/commands/interfaces/app-versions-list.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-versions-list.interface.ts @@ -1,7 +1,7 @@ // This is an autogenerated file. Don't edit this file manually. export interface appversionslist { /** - * The Client ID to fetch versions for. + * The Client ID of your app. * @environment SHOPIFY_FLAG_CLIENT_ID */ '--client-id '?: string @@ -30,6 +30,12 @@ export interface appversionslist { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Increase the verbosity of the output. * @environment SHOPIFY_FLAG_VERBOSE diff --git a/docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts b/docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts index 44e81f1e841..5dc1bba925a 100644 --- a/docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts +++ b/docs-shopify.dev/commands/interfaces/app-webhook-trigger.interface.ts @@ -53,6 +53,12 @@ export interface appwebhooktrigger { */ '--path '?: string + /** + * Reset all your settings. + * @environment SHOPIFY_FLAG_RESET + */ + '--reset'?: '' + /** * Deprecated. Please use client-secret. * @environment SHOPIFY_FLAG_SHARED_SECRET diff --git a/docs-shopify.dev/generated/generated_docs_data.json b/docs-shopify.dev/generated/generated_docs_data.json index 9ded999b8eb..c725ab97c80 100644 --- a/docs-shopify.dev/generated/generated_docs_data.json +++ b/docs-shopify.dev/generated/generated_docs_data.json @@ -33,7 +33,7 @@ "syntaxKind": "PropertySignature", "name": "--client-id ", "value": "string", - "description": "Application's Client ID that will be exposed at build time.", + "description": "The Client ID of your app.", "isOptional": true, "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" }, @@ -55,6 +55,15 @@ "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", @@ -83,7 +92,7 @@ "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" } ], - "value": "export interface appbuild {\n /**\n * Application's Client ID that will be exposed at build time.\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 * 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}" + "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}" } } } @@ -147,6 +156,15 @@ "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", @@ -166,7 +184,7 @@ "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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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}" } } } @@ -203,6 +221,15 @@ "name": "appconfiguse", "description": "", "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", @@ -226,7 +253,7 @@ "syntaxKind": "PropertySignature", "name": "--reset", "value": "\"\"", - "description": "Reset current configuration.", + "description": "Reset all your settings.", "isOptional": true, "environmentValue": "SHOPIFY_FLAG_RESET" }, @@ -240,7 +267,7 @@ "environmentValue": "SHOPIFY_FLAG_VERBOSE" } ], - "value": "export interface appconfiguse {\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 current configuration.\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}" + "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}" } } } @@ -587,6 +614,15 @@ "name": "appenvpull", "description": "", "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", @@ -614,6 +650,15 @@ "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", @@ -633,7 +678,7 @@ "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" } ], - "value": "export interface appenvpull {\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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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}" } } } @@ -670,6 +715,15 @@ "name": "appenvshow", "description": "", "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", @@ -688,6 +742,15 @@ "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", @@ -707,7 +770,7 @@ "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" } ], - "value": "export interface appenvshow {\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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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}" } } } @@ -744,6 +807,15 @@ "name": "appfunctionbuild", "description": "", "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", @@ -762,6 +834,15 @@ "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", @@ -781,7 +862,7 @@ "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" } ], - "value": "export interface appfunctionbuild {\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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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}" } } } @@ -823,7 +904,7 @@ "syntaxKind": "PropertySignature", "name": "--client-id ", "value": "string", - "description": "Application's Client ID", + "description": "The Client ID of your app.", "isOptional": true, "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" }, @@ -845,6 +926,15 @@ "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", @@ -891,7 +981,7 @@ "environmentValue": "SHOPIFY_FLAG_WATCH" } ], - "value": "export interface appfunctionreplay {\n /**\n * Application's Client ID\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.\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 * 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}" + "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.\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}" } } } @@ -928,6 +1018,15 @@ "name": "appfunctionrun", "description": "", "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", @@ -946,6 +1045,15 @@ "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", @@ -992,7 +1100,7 @@ "environmentValue": "SHOPIFY_FLAG_JSON" } ], - "value": "export interface appfunctionrun {\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.\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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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.\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}" } } } @@ -1034,7 +1142,7 @@ "syntaxKind": "PropertySignature", "name": "--client-id ", "value": "string", - "description": "The Client ID to fetch the schema with.", + "description": "The Client ID of your app.", "isOptional": true, "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" }, @@ -1056,6 +1164,15 @@ "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", @@ -1084,7 +1201,7 @@ "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" } ], - "value": "export interface appfunctionschema {\n /**\n * The Client ID to fetch the schema with.\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 * 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}" + "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}" } } } @@ -1121,6 +1238,15 @@ "name": "appfunctiontypegen", "description": "", "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", @@ -1139,6 +1265,15 @@ "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", @@ -1158,7 +1293,7 @@ "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" } ], - "value": "export interface appfunctiontypegen {\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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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}" } } } @@ -1350,6 +1485,15 @@ "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", @@ -1369,7 +1513,7 @@ "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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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}" } } } @@ -1406,6 +1550,15 @@ "name": "appinfo", "description": "", "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", @@ -1424,6 +1577,15 @@ "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", @@ -1461,7 +1623,7 @@ "environmentValue": "SHOPIFY_FLAG_JSON" } ], - "value": "export interface appinfo {\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.\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 * 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}" + "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.\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}" } } } @@ -1608,6 +1770,15 @@ "name": "applogssources", "description": "", "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", @@ -1626,6 +1797,15 @@ "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", @@ -1645,7 +1825,7 @@ "environmentValue": "SHOPIFY_FLAG_APP_CONFIG" } ], - "value": "export interface applogssources {\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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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}" } } } @@ -1924,7 +2104,7 @@ "syntaxKind": "PropertySignature", "name": "--client-id ", "value": "string", - "description": "The Client ID to fetch versions for.", + "description": "The Client ID of your app.", "isOptional": true, "environmentValue": "SHOPIFY_FLAG_CLIENT_ID" }, @@ -1946,6 +2126,15 @@ "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", @@ -1974,7 +2163,7 @@ "environmentValue": "SHOPIFY_FLAG_JSON" } ], - "value": "export interface appversionslist {\n /**\n * The Client ID to fetch versions for.\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.\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 * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}" + "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.\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}" } } } @@ -2074,6 +2263,15 @@ "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", @@ -2102,7 +2300,7 @@ "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 * 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}" + "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}" } } } diff --git a/packages/app/src/cli/commands/app/app-logs/sources.ts b/packages/app/src/cli/commands/app/app-logs/sources.ts index 2937b18dc9a..dcdaa8c414b 100644 --- a/packages/app/src/cli/commands/app/app-logs/sources.ts +++ b/packages/app/src/cli/commands/app/app-logs/sources.ts @@ -21,8 +21,8 @@ export default class Sources extends AppCommand { const {app} = await linkedAppContext({ directory: flags.path, - clientId: undefined, - forceRelink: false, + clientId: flags['client-id'], + forceRelink: flags.reset, userProvidedConfigName: flags.config, }) diff --git a/packages/app/src/cli/commands/app/build.ts b/packages/app/src/cli/commands/app/build.ts index 854fe961a58..1bdc49fe906 100644 --- a/packages/app/src/cli/commands/app/build.ts +++ b/packages/app/src/cli/commands/app/build.ts @@ -31,12 +31,6 @@ export default class Build extends AppCommand { env: 'SHOPIFY_FLAG_API_KEY', exclusive: ['config'], }), - 'client-id': Flags.string({ - hidden: false, - description: "Application's Client ID that will be exposed at build time.", - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), } async run(): Promise { @@ -44,7 +38,7 @@ export default class Build extends AppCommand { if (flags['api-key']) { await showApiKeyDeprecationWarning() } - const apiKey = flags['client-id'] || flags['api-key'] + const apiKey = flags['client-id'] ?? flags['api-key'] await addPublicMetadata(() => ({ cmd_app_dependency_installation_skipped: flags['skip-dependencies-installation'], @@ -52,8 +46,8 @@ export default class Build extends AppCommand { const {app} = await linkedAppContext({ directory: flags.path, - clientId: flags['client-id'], - forceRelink: false, + clientId: apiKey, + forceRelink: flags.reset, userProvidedConfigName: flags.config, }) diff --git a/packages/app/src/cli/commands/app/config/link.ts b/packages/app/src/cli/commands/app/config/link.ts index 58ab864e7e6..ba7884b76ce 100644 --- a/packages/app/src/cli/commands/app/config/link.ts +++ b/packages/app/src/cli/commands/app/config/link.ts @@ -2,7 +2,6 @@ import {appFlags} from '../../../flags.js' import {linkedAppContext} from '../../../services/app-context.js' import link, {LinkOptions} from '../../../services/app/config/link.js' import AppCommand, {AppCommandOutput} from '../../../utilities/app-command.js' -import {Flags} from '@oclif/core' import {globalFlags} from '@shopify/cli-kit/node/cli' export default class ConfigLink extends AppCommand { @@ -18,11 +17,6 @@ export default class ConfigLink extends AppCommand { static flags = { ...globalFlags, ...appFlags, - 'client-id': Flags.string({ - hidden: false, - description: 'The Client ID of your app.', - env: 'SHOPIFY_FLAG_CLIENT_ID', - }), } public async run(): Promise { diff --git a/packages/app/src/cli/commands/app/config/use.ts b/packages/app/src/cli/commands/app/config/use.ts index 9a7330121bb..4958acd88c5 100644 --- a/packages/app/src/cli/commands/app/config/use.ts +++ b/packages/app/src/cli/commands/app/config/use.ts @@ -3,7 +3,7 @@ import {checkFolderIsValidApp} from '../../../models/app/loader.js' import {linkedAppContext} from '../../../services/app-context.js' import use from '../../../services/app/config/use.js' import AppCommand, {AppCommandOutput} from '../../../utilities/app-command.js' -import {Args, Flags} from '@oclif/core' +import {Args} from '@oclif/core' import {globalFlags} from '@shopify/cli-kit/node/cli' // This is one of the few commands where we don't need a @@ -20,12 +20,6 @@ export default class ConfigUse extends AppCommand { static flags = { ...globalFlags, ...appFlagsWithoutConfig, - reset: Flags.boolean({ - hidden: false, - description: 'Reset current configuration.', - env: 'SHOPIFY_FLAG_RESET', - default: false, - }), } static args = { diff --git a/packages/app/src/cli/commands/app/demo/watcher.ts b/packages/app/src/cli/commands/app/demo/watcher.ts index 538a18df98d..454b08d4fcc 100644 --- a/packages/app/src/cli/commands/app/demo/watcher.ts +++ b/packages/app/src/cli/commands/app/demo/watcher.ts @@ -21,8 +21,8 @@ export default class DemoWatcher extends AppCommand { const {app} = await linkedAppContext({ directory: flags.path, - clientId: undefined, - forceRelink: false, + clientId: flags['client-id'], + forceRelink: flags.reset, userProvidedConfigName: flags.config, }) diff --git a/packages/app/src/cli/commands/app/deploy.ts b/packages/app/src/cli/commands/app/deploy.ts index 3f7489a7bec..507cbee2e11 100644 --- a/packages/app/src/cli/commands/app/deploy.ts +++ b/packages/app/src/cli/commands/app/deploy.ts @@ -32,19 +32,6 @@ export default class Deploy extends AppCommand { env: 'SHOPIFY_FLAG_APP_API_KEY', exclusive: ['config'], }), - 'client-id': Flags.string({ - hidden: false, - description: 'The Client ID of your app.', - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), - reset: Flags.boolean({ - hidden: false, - description: 'Reset all your settings.', - env: 'SHOPIFY_FLAG_RESET', - default: false, - exclusive: ['config'], - }), force: Flags.boolean({ hidden: false, description: 'Deploy without asking for confirmation.', diff --git a/packages/app/src/cli/commands/app/dev.ts b/packages/app/src/cli/commands/app/dev.ts index 9836115591a..18265a5cb0f 100644 --- a/packages/app/src/cli/commands/app/dev.ts +++ b/packages/app/src/cli/commands/app/dev.ts @@ -49,12 +49,6 @@ If you're using the Ruby app template, then you need to complete the following s env: 'SHOPIFY_FLAG_APP_API_KEY', exclusive: ['config'], }), - 'client-id': Flags.string({ - hidden: false, - description: 'The Client ID of your app.', - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), store: Flags.string({ hidden: false, char: 's', @@ -62,13 +56,6 @@ If you're using the Ruby app template, then you need to complete the following s env: 'SHOPIFY_FLAG_STORE', parse: async (input) => normalizeStoreFqdn(input), }), - reset: Flags.boolean({ - hidden: false, - description: 'Reset all your settings.', - env: 'SHOPIFY_FLAG_RESET', - default: false, - exclusive: ['config'], - }), 'skip-dependencies-installation': Flags.boolean({ hidden: false, description: 'Skips the installation of dependencies. Deprecated, use workspaces instead.', diff --git a/packages/app/src/cli/commands/app/env/pull.ts b/packages/app/src/cli/commands/app/env/pull.ts index c641ede970e..60fb0defa35 100644 --- a/packages/app/src/cli/commands/app/env/pull.ts +++ b/packages/app/src/cli/commands/app/env/pull.ts @@ -32,8 +32,8 @@ export default class EnvPull extends AppCommand { const {app, remoteApp} = await linkedAppContext({ directory: flags.path, - clientId: undefined, - forceRelink: false, + clientId: flags['client-id'], + forceRelink: flags.reset, userProvidedConfigName: flags.config, }) const envFile = joinPath(app.directory, flags['env-file'] ?? getDotEnvFileName(app.configuration.path)) diff --git a/packages/app/src/cli/commands/app/env/show.ts b/packages/app/src/cli/commands/app/env/show.ts index 0474c471c30..67ec0d3e2a1 100644 --- a/packages/app/src/cli/commands/app/env/show.ts +++ b/packages/app/src/cli/commands/app/env/show.ts @@ -21,8 +21,8 @@ export default class EnvShow extends AppCommand { const {flags} = await this.parse(EnvShow) const {app, remoteApp} = await linkedAppContext({ directory: flags.path, - clientId: undefined, - forceRelink: false, + clientId: flags['client-id'], + forceRelink: flags.reset, userProvidedConfigName: flags.config, }) outputInfo(await showEnv(app, remoteApp)) diff --git a/packages/app/src/cli/commands/app/function/build.ts b/packages/app/src/cli/commands/app/function/build.ts index d720443b623..0ac57587ab4 100644 --- a/packages/app/src/cli/commands/app/function/build.ts +++ b/packages/app/src/cli/commands/app/function/build.ts @@ -24,6 +24,8 @@ export default class FunctionBuild extends AppCommand { const app = await inFunctionContext({ path: flags.path, userProvidedConfigName: flags.config, + apiKey: flags['client-id'], + reset: flags.reset, callback: async (app, _, ourFunction) => { await buildFunctionExtension(ourFunction, { app, diff --git a/packages/app/src/cli/commands/app/function/replay.ts b/packages/app/src/cli/commands/app/function/replay.ts index ae86903fab2..f5fdd019a77 100644 --- a/packages/app/src/cli/commands/app/function/replay.ts +++ b/packages/app/src/cli/commands/app/function/replay.ts @@ -24,12 +24,6 @@ export default class FunctionReplay extends AppCommand { env: 'SHOPIFY_FLAG_API_KEY', exclusive: ['config'], }), - 'client-id': Flags.string({ - hidden: false, - description: "Application's Client ID", - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), log: Flags.string({ char: 'l', description: @@ -51,12 +45,13 @@ export default class FunctionReplay extends AppCommand { if (flags['api-key']) { await showApiKeyDeprecationWarning() } - const apiKey = flags['client-id'] || flags['api-key'] + const apiKey = flags['client-id'] ?? flags['api-key'] const app = await inFunctionContext({ path: flags.path, apiKey, userProvidedConfigName: flags.config, + reset: flags.reset, callback: async (app, _, ourFunction) => { await replay({ app, diff --git a/packages/app/src/cli/commands/app/function/run.ts b/packages/app/src/cli/commands/app/function/run.ts index c655b0b4002..92aa20063aa 100644 --- a/packages/app/src/cli/commands/app/function/run.ts +++ b/packages/app/src/cli/commands/app/function/run.ts @@ -39,6 +39,8 @@ export default class FunctionRun extends AppCommand { const app = await inFunctionContext({ path: flags.path, userProvidedConfigName: flags.config, + apiKey: flags['client-id'], + reset: flags.reset, callback: async (app, developerPlatformClient, ourFunction) => { let functionExport = DEFAULT_FUNCTION_EXPORT diff --git a/packages/app/src/cli/commands/app/function/schema.ts b/packages/app/src/cli/commands/app/function/schema.ts index 3b6ab786396..199c94e572d 100644 --- a/packages/app/src/cli/commands/app/function/schema.ts +++ b/packages/app/src/cli/commands/app/function/schema.ts @@ -26,12 +26,6 @@ export default class FetchSchema extends AppCommand { env: 'SHOPIFY_FLAG_APP_API_KEY', exclusive: ['config'], }), - 'client-id': Flags.string({ - hidden: false, - description: 'The Client ID to fetch the schema with.', - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), stdout: Flags.boolean({ description: 'Output the schema to stdout instead of writing to a file.', required: false, @@ -45,11 +39,12 @@ export default class FetchSchema extends AppCommand { if (flags['api-key']) { await showApiKeyDeprecationWarning() } - const apiKey = flags['client-id'] || flags['api-key'] + const apiKey = flags['client-id'] ?? flags['api-key'] const app = await inFunctionContext({ path: flags.path, apiKey, + reset: flags.reset, userProvidedConfigName: flags.config, callback: async (app, developerPlatformClient, ourFunction) => { await generateSchemaService({ diff --git a/packages/app/src/cli/commands/app/function/typegen.ts b/packages/app/src/cli/commands/app/function/typegen.ts index db99a7b78e7..29dbbf0c559 100644 --- a/packages/app/src/cli/commands/app/function/typegen.ts +++ b/packages/app/src/cli/commands/app/function/typegen.ts @@ -22,6 +22,8 @@ export default class FunctionTypegen extends AppCommand { const {flags} = await this.parse(FunctionTypegen) const app = await inFunctionContext({ path: flags.path, + apiKey: flags['client-id'], + reset: flags.reset, userProvidedConfigName: flags.config, callback: async (app, _, ourFunction) => { await buildGraphqlTypes(ourFunction, {stdout: process.stdout, stderr: process.stderr, app}) diff --git a/packages/app/src/cli/commands/app/generate/extension.ts b/packages/app/src/cli/commands/app/generate/extension.ts index 8d1374e13cd..d932fe6cb3f 100644 --- a/packages/app/src/cli/commands/app/generate/extension.ts +++ b/packages/app/src/cli/commands/app/generate/extension.ts @@ -54,25 +54,12 @@ export default class AppGenerateExtension extends AppCommand { options: ['vanilla-js', 'react', 'typescript', 'typescript-react', 'wasm', 'rust'], env: 'SHOPIFY_FLAG_FLAVOR', }), - reset: Flags.boolean({ - hidden: false, - description: 'Reset all your settings.', - env: 'SHOPIFY_FLAG_RESET', - default: false, - exclusive: ['config'], - }), 'api-key': Flags.string({ hidden: true, description: 'The API key of your app.', env: 'SHOPIFY_FLAG_APP_API_KEY', exclusive: ['config'], }), - 'client-id': Flags.string({ - hidden: false, - description: 'The Client ID of your app.', - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), } static args = { @@ -107,7 +94,7 @@ export default class AppGenerateExtension extends AppCommand { const {app, specifications, remoteApp, developerPlatformClient} = await linkedAppContext({ directory: flags.path, - clientId: flags['client-id'] || flags['api-key'], + clientId: flags['client-id'] ?? flags['api-key'], forceRelink: flags.reset, userProvidedConfigName: flags.config, }) diff --git a/packages/app/src/cli/commands/app/import-extensions.ts b/packages/app/src/cli/commands/app/import-extensions.ts index e0ab6e4babc..87f1b4bcb46 100644 --- a/packages/app/src/cli/commands/app/import-extensions.ts +++ b/packages/app/src/cli/commands/app/import-extensions.ts @@ -84,7 +84,7 @@ export default class ImportExtensions extends AppCommand { const appContext = await linkedAppContext({ directory: flags.path, clientId: flags['client-id'], - forceRelink: false, + forceRelink: flags.reset, userProvidedConfigName: flags.config, }) diff --git a/packages/app/src/cli/commands/app/info.ts b/packages/app/src/cli/commands/app/info.ts index ca21952f589..5de3daa4b58 100644 --- a/packages/app/src/cli/commands/app/info.ts +++ b/packages/app/src/cli/commands/app/info.ts @@ -35,8 +35,8 @@ export default class AppInfo extends AppCommand { const {app, remoteApp, developerPlatformClient} = await linkedAppContext({ directory: flags.path, - clientId: undefined, - forceRelink: false, + clientId: flags['client-id'], + forceRelink: flags.reset, userProvidedConfigName: flags.config, unsafeReportMode: true, }) diff --git a/packages/app/src/cli/commands/app/logs.ts b/packages/app/src/cli/commands/app/logs.ts index 716a12607ad..30f3ddbd815 100644 --- a/packages/app/src/cli/commands/app/logs.ts +++ b/packages/app/src/cli/commands/app/logs.ts @@ -28,7 +28,6 @@ export default class Logs extends AppCommand { ...appFlags, ...jsonFlag, 'api-key': Dev.flags['api-key'], - 'client-id': Dev.flags['client-id'], store: Flags.string({ char: 's', description: 'Store URL. Must be an existing development or Shopify Plus sandbox store.', @@ -36,7 +35,6 @@ export default class Logs extends AppCommand { multiple: true, parse: async (input) => normalizeStoreFqdn(input), }), - reset: Dev.flags.reset, source: Flags.string({ description: 'Filters output to the specified log source.', env: 'SHOPIFY_FLAG_SOURCE', @@ -52,7 +50,7 @@ export default class Logs extends AppCommand { public async run(): Promise { const {flags} = await this.parse(Logs) - const apiKey = flags['client-id'] || flags['api-key'] + const apiKey = flags['client-id'] ?? flags['api-key'] await checkFolderIsValidApp(flags.path) diff --git a/packages/app/src/cli/commands/app/release.ts b/packages/app/src/cli/commands/app/release.ts index b2ca3dfeef7..9713a20d60e 100644 --- a/packages/app/src/cli/commands/app/release.ts +++ b/packages/app/src/cli/commands/app/release.ts @@ -26,18 +26,6 @@ export default class Release extends AppCommand { env: 'SHOPIFY_FLAG_APP_API_KEY', exclusive: ['config'], }), - 'client-id': Flags.string({ - hidden: false, - description: 'The Client ID of your app.', - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), - reset: Flags.boolean({ - hidden: false, - description: 'Reset all your settings.', - env: 'SHOPIFY_FLAG_RESET', - default: false, - }), force: Flags.boolean({ hidden: false, description: 'Release without asking for confirmation.', @@ -57,7 +45,7 @@ export default class Release extends AppCommand { if (flags['api-key']) { await showApiKeyDeprecationWarning() } - const apiKey = flags['client-id'] || flags['api-key'] + const apiKey = flags['client-id'] ?? flags['api-key'] await addPublicMetadata(() => ({ cmd_app_reset_used: flags.reset, diff --git a/packages/app/src/cli/commands/app/versions/list.ts b/packages/app/src/cli/commands/app/versions/list.ts index 8b9d2c8f73f..e484d6029c3 100644 --- a/packages/app/src/cli/commands/app/versions/list.ts +++ b/packages/app/src/cli/commands/app/versions/list.ts @@ -25,12 +25,6 @@ export default class VersionsList extends AppCommand { env: 'SHOPIFY_FLAG_API_KEY', exclusive: ['config'], }), - 'client-id': Flags.string({ - hidden: false, - description: 'The Client ID to fetch versions for.', - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), } static args = { @@ -42,12 +36,12 @@ export default class VersionsList extends AppCommand { if (flags['api-key']) { await showApiKeyDeprecationWarning() } - const apiKey = flags['client-id'] || flags['api-key'] + const apiKey = flags['client-id'] ?? flags['api-key'] const {app, remoteApp, developerPlatformClient, organization} = await linkedAppContext({ directory: flags.path, clientId: apiKey, - forceRelink: false, + forceRelink: flags.reset, userProvidedConfigName: flags.config, }) diff --git a/packages/app/src/cli/commands/app/webhook/trigger.ts b/packages/app/src/cli/commands/app/webhook/trigger.ts index d6500fd8e22..d600d6d1d63 100644 --- a/packages/app/src/cli/commands/app/webhook/trigger.ts +++ b/packages/app/src/cli/commands/app/webhook/trigger.ts @@ -56,12 +56,6 @@ export default class WebhookTrigger extends AppCommand { env: 'SHOPIFY_FLAG_DELIVERY_METHOD', description: `Method chosen to deliver the topic payload. If not passed, it's inferred from the address.`, }), - 'client-id': Flags.string({ - hidden: false, - description: 'The Client ID of your app.', - env: 'SHOPIFY_FLAG_CLIENT_ID', - exclusive: ['config'], - }), 'shared-secret': Flags.string({ required: false, hidden: false, @@ -101,7 +95,7 @@ export default class WebhookTrigger extends AppCommand { const appContextResult = await linkedAppContext({ directory: flags.path, clientId: flags['client-id'], - forceRelink: false, + forceRelink: flags.reset, userProvidedConfigName: flags.config, }) diff --git a/packages/app/src/cli/flags.ts b/packages/app/src/cli/flags.ts index 7781611b85c..bf6944a81ea 100644 --- a/packages/app/src/cli/flags.ts +++ b/packages/app/src/cli/flags.ts @@ -19,4 +19,17 @@ export const appFlags = { description: 'The name of the app configuration.', env: 'SHOPIFY_FLAG_APP_CONFIG', }), + 'client-id': Flags.string({ + hidden: false, + description: 'The Client ID of your app.', + env: 'SHOPIFY_FLAG_CLIENT_ID', + exclusive: ['config'], + }), + reset: Flags.boolean({ + hidden: false, + description: 'Reset all your settings.', + env: 'SHOPIFY_FLAG_RESET', + default: false, + exclusive: ['config'], + }), } diff --git a/packages/app/src/cli/services/function/common.ts b/packages/app/src/cli/services/function/common.ts index 49afb3c1ebe..638f3198197 100644 --- a/packages/app/src/cli/services/function/common.ts +++ b/packages/app/src/cli/services/function/common.ts @@ -27,10 +27,12 @@ export async function inFunctionContext({ userProvidedConfigName, apiKey, callback, + reset, }: { path: string userProvidedConfigName?: string apiKey?: string + reset?: boolean callback: ( app: AppLinkedInterface, developerPlatformClient: DeveloperPlatformClient, @@ -40,7 +42,7 @@ export async function inFunctionContext({ const {app, developerPlatformClient} = await linkedAppContext({ directory: path, clientId: apiKey, - forceRelink: false, + forceRelink: reset ?? false, userProvidedConfigName, }) diff --git a/packages/cli/README.md b/packages/cli/README.md index 5d066bf40bd..ca7521e5ea2 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -86,14 +86,15 @@ Build the app, including extensions. ``` USAGE - $ shopify app build [--client-id | -c ] [--no-color] [--path ] + $ shopify app build [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--skip-dependencies-installation] [--verbose] FLAGS -c, --config= The name of the app configuration. - --client-id= Application's Client ID that will be exposed at build time. + --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. @@ -115,13 +116,14 @@ Fetch your app configuration from the Partner Dashboard. ``` USAGE - $ shopify app config link [--client-id ] [-c ] [--no-color] [--path ] [--verbose] + $ 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. DESCRIPTION @@ -140,16 +142,17 @@ Activate an app configuration. ``` USAGE - $ shopify app config use [CONFIG] [--no-color] [--path ] [--reset] [--verbose] + $ shopify app config use [CONFIG] [--client-id | ] [--no-color] [--path ] [--reset | ] [--verbose] ARGUMENTS CONFIG The name of the app configuration. Can be 'shopify.app.staging.toml' or simply 'staging'. FLAGS - --no-color Disable color output. - --path= The path to your app directory. - --reset Reset current configuration. - --verbose Increase the verbosity of the output. + --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. DESCRIPTION Activate an app configuration. @@ -275,14 +278,17 @@ Pull app and extensions environment variables. ``` USAGE - $ shopify app env pull [-c ] [--env-file ] [--no-color] [--path ] [--verbose] + $ shopify app env pull [--client-id | -c ] [--env-file ] [--no-color] [--path ] + [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --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. - --verbose Increase the verbosity of the output. + -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. DESCRIPTION Pull app and extensions environment variables. @@ -299,13 +305,15 @@ Display app and extensions environment variables. ``` USAGE - $ shopify app env show [-c ] [--no-color] [--path ] [--verbose] + $ shopify app env show [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --no-color Disable color output. - --path= The path to your app directory. - --verbose Increase the verbosity of the output. + -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. DESCRIPTION Display app and extensions environment variables. @@ -319,13 +327,15 @@ Compile a function to wasm. ``` USAGE - $ shopify app function build [-c ] [--no-color] [--path ] [--verbose] + $ shopify app function build [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --no-color Disable color output. - --path= The path to your function directory. - --verbose Increase the verbosity of the output. + -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. DESCRIPTION Compile a function to wasm. @@ -340,7 +350,7 @@ Replays a function run from an app log. ``` USAGE $ shopify app function replay [--client-id | -c ] [-j] [-l ] [--no-color] [--path ] - [--verbose] [-w] + [--reset | ] [--verbose] [-w] FLAGS -c, --config= The name of the app configuration. @@ -348,9 +358,10 @@ FLAGS -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= Application's Client ID + --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. DESCRIPTION @@ -367,16 +378,19 @@ Run a function locally for testing. ``` USAGE - $ shopify app function run [-c ] [-e ] [-i ] [-j] [--no-color] [--path ] [--verbose] + $ shopify app function run [--client-id | -c ] [-e ] [-i ] [-j] [--no-color] [--path + ] [--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. - --no-color Disable color output. - --path= The path to your function directory. - --verbose Increase the verbosity of the output. + -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. DESCRIPTION Run a function locally for testing. @@ -392,13 +406,15 @@ Fetch the latest GraphQL schema for a function. ``` USAGE - $ shopify app function schema [--client-id | -c ] [--no-color] [--path ] [--stdout] [--verbose] + $ shopify app function schema [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--stdout] + [--verbose] FLAGS -c, --config= The name of the app configuration. - --client-id= The Client ID to fetch the schema with. + --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. @@ -418,13 +434,16 @@ Generate GraphQL types for a JavaScript function. ``` USAGE - $ shopify app function typegen [-c ] [--no-color] [--path ] [--verbose] + $ shopify app function typegen [--client-id | -c ] [--no-color] [--path ] [--reset | ] + [--verbose] FLAGS - -c, --config= The name of the app configuration. - --no-color Disable color output. - --path= The path to your function directory. - --verbose Increase the verbosity of the output. + -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. DESCRIPTION Generate GraphQL types for a JavaScript function. @@ -477,13 +496,15 @@ Import dashboard-managed extensions into your app. ``` USAGE - $ shopify app import-extensions [--client-id | -c ] [--no-color] [--path ] [--verbose] + $ shopify app import-extensions [--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. DESCRIPTION @@ -496,15 +517,18 @@ Print basic information about your app and extensions. ``` USAGE - $ shopify app info [-c ] [-j] [--no-color] [--path ] [--verbose] [--web-env] + $ shopify app info [--client-id | -c ] [-j] [--no-color] [--path ] [--reset | ] + [--verbose] [--web-env] FLAGS - -c, --config= The name of the app configuration. - -j, --json Output the result as JSON. - --no-color Disable color output. - --path= The path to your app directory. - --verbose Increase the verbosity of the output. - --web-env Outputs environment variables necessary for running and deploying web/. + -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 app directory. + --reset Reset all your settings. + --verbose Increase the verbosity of the output. + --web-env Outputs environment variables necessary for running and deploying web/. DESCRIPTION Print basic information about your app and extensions. @@ -584,13 +608,15 @@ Print out a list of sources that may be used with the logs command. ``` USAGE - $ shopify app logs sources [-c ] [--no-color] [--path ] [--verbose] + $ shopify app logs sources [--client-id | -c ] [--no-color] [--path ] [--reset | ] [--verbose] FLAGS - -c, --config= The name of the app configuration. - --no-color Disable color output. - --path= The path to your app directory. - --verbose Increase the verbosity of the output. + -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. DESCRIPTION Print out a list of sources that may be used with the logs command. @@ -629,14 +655,16 @@ List deployed versions of your app. ``` USAGE - $ shopify app versions list [FILE] [--client-id | -c ] [-j] [--no-color] [--path ] [--verbose] + $ shopify app versions list [FILE] [--client-id | -c ] [-j] [--no-color] [--path ] [--reset | ] + [--verbose] FLAGS -c, --config= The name of the app configuration. -j, --json Output the result as JSON. - --client-id= The Client ID to fetch versions for. + --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. DESCRIPTION @@ -655,8 +683,8 @@ Trigger delivery of a sample webhook topic payload to a designated address. ``` USAGE $ shopify app webhook trigger [--address ] [--api-version ] [--client-id | -c ] - [--client-secret ] [--delivery-method http|google-pub-sub|event-bridge] [--help] [--path ] - [--shared-secret ] [--topic ] + [--client-secret ] [--delivery-method http|google-pub-sub|event-bridge] [--help] [--path ] [--reset | + ] [--shared-secret ] [--topic ] FLAGS -c, --config= @@ -691,6 +719,9 @@ FLAGS --path= The path to your app directory. + --reset + Reset all your settings. + --shared-secret= Deprecated. Please use client-secret. diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json index de76f74ef45..e565cdfdbf6 100644 --- a/packages/cli/oclif.manifest.json +++ b/packages/cli/oclif.manifest.json @@ -22,7 +22,7 @@ "type": "option" }, "client-id": { - "description": "Application's Client ID that will be exposed at build time.", + "description": "The Client ID of your app.", "env": "SHOPIFY_FLAG_CLIENT_ID", "exclusive": [ "config" @@ -60,6 +60,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "skip-dependencies-installation": { "allowNo": false, "description": "Skips the installation of dependencies. Deprecated, use workspaces instead.", @@ -99,6 +110,9 @@ "client-id": { "description": "The Client ID of your app.", "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], "hasDynamicHelp": false, "hidden": false, "multiple": false, @@ -132,6 +146,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -164,6 +189,18 @@ "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.", "descriptionWithMarkdown": "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.", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "no-color": { "allowNo": false, "description": "Disable color output.", @@ -183,8 +220,11 @@ }, "reset": { "allowNo": false, - "description": "Reset current configuration.", + "description": "Reset all your settings.", "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], "hidden": false, "name": "reset", "type": "boolean" @@ -555,6 +595,18 @@ "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.", "descriptionWithMarkdown": "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.", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "config": { "char": "c", "description": "The name of the app configuration.", @@ -591,6 +643,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -619,6 +682,18 @@ "description": "Displays environment variables that can be used to deploy apps and app extensions.", "descriptionWithMarkdown": "Displays environment variables that can be used to deploy apps and app extensions.", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "config": { "char": "c", "description": "The name of the app configuration.", @@ -646,6 +721,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -674,6 +760,18 @@ "description": "Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.", "descriptionWithMarkdown": "Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "config": { "char": "c", "description": "The name of the app configuration.", @@ -702,6 +800,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -743,7 +852,7 @@ "type": "option" }, "client-id": { - "description": "Application's Client ID", + "description": "The Client ID of your app.", "env": "SHOPIFY_FLAG_CLIENT_ID", "exclusive": [ "config" @@ -800,6 +909,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -837,6 +957,18 @@ "description": "Runs the function from your current directory for \"testing purposes\" (https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to \"Shopify Functions error handling\" (https://shopify.dev/docs/api/functions/errors).", "descriptionWithMarkdown": "Runs the function from your current directory for [testing purposes](https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](https://shopify.dev/docs/api/functions/errors).", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "config": { "char": "c", "description": "The name of the app configuration.", @@ -893,6 +1025,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -934,7 +1077,7 @@ "type": "option" }, "client-id": { - "description": "The Client ID to fetch the schema with.", + "description": "The Client ID of your app.", "env": "SHOPIFY_FLAG_CLIENT_ID", "exclusive": [ "config" @@ -973,6 +1116,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "stdout": { "allowNo": false, "description": "Output the schema to stdout instead of writing to a file.", @@ -1009,6 +1163,18 @@ "description": "Creates GraphQL types based on your \"input query\" (https://shopify.dev/docs/apps/functions/input-output#input) for a function written in JavaScript.", "descriptionWithMarkdown": "Creates GraphQL types based on your [input query](https://shopify.dev/docs/apps/functions/input-output#input) for a function written in JavaScript.", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "config": { "char": "c", "description": "The name of the app configuration.", @@ -1037,6 +1203,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -1231,7 +1408,7 @@ "type": "option" }, "client-id": { - "description": "The Client ID to fetch the schema with.", + "description": "The Client ID of your app.", "env": "SHOPIFY_FLAG_CLIENT_ID", "exclusive": [ "config" @@ -1270,6 +1447,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "stdout": { "allowNo": false, "description": "Output the schema to stdout instead of writing to a file.", @@ -1344,6 +1532,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -1371,6 +1570,18 @@ "description": "The information returned includes the following:\n\n - The app and development store or Plus sandbox store that's used when you run the \"dev\" (https://shopify.dev/docs/api/shopify-cli/app/app-dev) command. You can reset these configurations using \"`dev --reset`\" (https://shopify.dev/docs/api/shopify-cli/app/app-dev#flags-propertydetail-reset).\n - The \"structure\" (https://shopify.dev/docs/apps/tools/cli/structure) of your app project.\n - The \"access scopes\" (https://shopify.dev/docs/api/usage) your app has requested.\n - System information, including the package manager and version of Shopify CLI used in the project.", "descriptionWithMarkdown": "The information returned includes the following:\n\n - The app and development store or Plus sandbox store that's used when you run the [dev](https://shopify.dev/docs/api/shopify-cli/app/app-dev) command. You can reset these configurations using [`dev --reset`](https://shopify.dev/docs/api/shopify-cli/app/app-dev#flags-propertydetail-reset).\n - The [structure](https://shopify.dev/docs/apps/tools/cli/structure) of your app project.\n - The [access scopes](https://shopify.dev/docs/api/usage) your app has requested.\n - System information, including the package manager and version of Shopify CLI used in the project.", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "config": { "char": "c", "description": "The name of the app configuration.", @@ -1407,6 +1618,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -1675,6 +1897,18 @@ "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.", "descriptionWithMarkdown": "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.", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "config": { "char": "c", "description": "The name of the app configuration.", @@ -1702,6 +1936,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -1794,6 +2039,9 @@ "allowNo": false, "description": "Reset all your settings.", "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], "hidden": false, "name": "reset", "type": "boolean" @@ -1856,7 +2104,7 @@ "type": "option" }, "client-id": { - "description": "The Client ID to fetch versions for.", + "description": "The Client ID of your app.", "env": "SHOPIFY_FLAG_CLIENT_ID", "exclusive": [ "config" @@ -1903,6 +2151,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -2016,6 +2275,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "shared-secret": { "description": "Deprecated. Please use client-secret.", "env": "SHOPIFY_FLAG_SHARED_SECRET", @@ -2308,6 +2578,18 @@ }, "customPluginName": "@shopify/app", "flags": { + "client-id": { + "description": "The Client ID of your app.", + "env": "SHOPIFY_FLAG_CLIENT_ID", + "exclusive": [ + "config" + ], + "hasDynamicHelp": false, + "hidden": false, + "multiple": false, + "name": "client-id", + "type": "option" + }, "config": { "char": "c", "description": "The name of the app configuration.", @@ -2335,6 +2617,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "verbose": { "allowNo": false, "description": "Increase the verbosity of the output.", @@ -6333,6 +6626,17 @@ "noCacheDefault": true, "type": "option" }, + "reset": { + "allowNo": false, + "description": "Reset all your settings.", + "env": "SHOPIFY_FLAG_RESET", + "exclusive": [ + "config" + ], + "hidden": false, + "name": "reset", + "type": "boolean" + }, "shared-secret": { "description": "Deprecated. Please use client-secret.", "env": "SHOPIFY_FLAG_SHARED_SECRET",