You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Comma-separated Admin API scopes to request for the app.",
4211
+
"isOptional": true,
4193
4212
"environmentValue": "SHOPIFY_FLAG_SCOPES"
4194
4213
},
4195
4214
{
@@ -4216,10 +4235,11 @@
4216
4235
"name": "-s, --store <value>",
4217
4236
"value": "string",
4218
4237
"description": "The myshopify.com domain of the store to authenticate against.",
4238
+
"isOptional": true,
4219
4239
"environmentValue": "SHOPIFY_FLAG_STORE"
4220
4240
}
4221
4241
],
4222
-
"value": "export interface storeauth {\n /**\n * Output the result as JSON. Automatically disables color output.\n * @environment SHOPIFY_FLAG_JSON\n */\n '-j, --json'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Comma-separated Admin API scopes to request for the app.\n * @environment SHOPIFY_FLAG_SCOPES\n */\n '--scopes <value>': string\n\n /**\n * The myshopify.com domain of the store to authenticate against.\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store <value>': string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}"
4242
+
"value": "export interface storeauth {\n /**\n * The final callback URL from the browser after authorizing the app.\n * @environment SHOPIFY_FLAG_STORE_AUTH_CALLBACK_URL\n */\n '--callback-url <value>'?: string\n\n /**\n * Output the result as JSON. Automatically disables color output.\n * @environment SHOPIFY_FLAG_JSON\n */\n '-j, --json'?: ''\n\n /**\n * Disable color output.\n * @environment SHOPIFY_FLAG_NO_COLOR\n */\n '--no-color'?: ''\n\n /**\n * Resume a pending non-interactive store authentication flow.\n * @environment SHOPIFY_FLAG_STORE_AUTH_RESUME\n */\n '--resume'?: ''\n\n /**\n * Comma-separated Admin API scopes to request for the app.\n * @environment SHOPIFY_FLAG_SCOPES\n */\n '--scopes <value>'?: string\n\n /**\n * The myshopify.com domain of the store to authenticate against.\n * @environment SHOPIFY_FLAG_STORE\n */\n '-s, --store <value>'?: string\n\n /**\n * Increase the verbosity of the output.\n * @environment SHOPIFY_FLAG_VERBOSE\n */\n '--verbose'?: ''\n}"
Copy file name to clipboardExpand all lines: packages/cli/oclif.manifest.json
+19-5Lines changed: 19 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -5730,13 +5730,22 @@
5730
5730
"args": {
5731
5731
},
5732
5732
"customPluginName": "@shopify/store",
5733
-
"description": "Authenticates the app against the specified store for store commands and stores an online access token for later reuse.\n\nRe-run this command if the stored token is missing, expires, or no longer has the scopes you need.",
5734
-
"descriptionWithMarkdown": "Authenticates the app against the specified store for store commands and stores an online access token for later reuse.\n\nRe-run this command if the stored token is missing, expires, or no longer has the scopes you need.",
5733
+
"description": "Authenticates the app against the specified store for store commands and stores an online access token for later reuse.\n\nRe-run this command if the stored token is missing, expires, or no longer has the scopes you need.\n\nIn a non-TTY environment, Shopify CLI returns the current session if it already has the requested scopes. If no usable session exists, it starts OAuth, prints the authorization URL, stashes the PKCE state, and exits without waiting.\n\nAfter authorizing in a browser, copy the final callback URL and run `shopify store auth --resume --callback-url <callback-url>`.",
5734
+
"descriptionWithMarkdown": "Authenticates the app against the specified store for store commands and stores an online access token for later reuse.\n\nRe-run this command if the stored token is missing, expires, or no longer has the scopes you need.\n\nIn a non-TTY environment, Shopify CLI returns the current session if it already has the requested scopes. If no usable session exists, it starts OAuth, prints the authorization URL, stashes the PKCE state, and exits without waiting.\n\nAfter authorizing in a browser, copy the final callback URL and run `shopify store auth --resume --callback-url <callback-url>`.",
staticdescriptionWithMarkdown=`Authenticates the app against the specified store for store commands and stores an online access token for later reuse.
12
13
13
-
Re-run this command if the stored token is missing, expires, or no longer has the scopes you need.`
14
+
Re-run this command if the stored token is missing, expires, or no longer has the scopes you need.
15
+
16
+
In a non-TTY environment, Shopify CLI returns the current session if it already has the requested scopes. If no usable session exists, it starts OAuth, prints the authorization URL, stashes the PKCE state, and exits without waiting.
17
+
18
+
After authorizing in a browser, copy the final callback URL and run \`shopify store auth --resume --callback-url <callback-url>\`.`
0 commit comments