Skip to content

Commit 56c08f7

Browse files
committed
Allow custom app tokens for theme commands
This was previously stripped away but theme developers are still using this flow and are forced to pin to older versions. I'm returning the functionality in this PR but calling out the specific places where it doesn't work: - `dev` does not support hot module reloading - `console` and `profile` commands do not work at all
1 parent 3793022 commit 56c08f7

28 files changed

+171
-142
lines changed

docs-shopify.dev/commands/interfaces/theme-console.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface themeconsole {
1313
'--no-color'?: ''
1414

1515
/**
16-
* Password generated from the Theme Access app.
16+
* Password generated from the Theme Access app or an Admin API token.
1717
* @environment SHOPIFY_CLI_THEME_TOKEN
1818
*/
1919
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-delete.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface themedelete {
2525
'--no-color'?: ''
2626

2727
/**
28-
* Password generated from the Theme Access app.
28+
* Password generated from the Theme Access app or an Admin API token.
2929
* @environment SHOPIFY_CLI_THEME_TOKEN
3030
*/
3131
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-dev.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export interface themedev {
7373
'--open'?: ''
7474

7575
/**
76-
* Password generated from the Theme Access app.
76+
* Password generated from the Theme Access app or an Admin API token.
7777
* @environment SHOPIFY_CLI_THEME_TOKEN
7878
*/
7979
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-duplicate.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface themeduplicate {
3131
'--no-color'?: ''
3232

3333
/**
34-
* Password generated from the Theme Access app.
34+
* Password generated from the Theme Access app or an Admin API token.
3535
* @environment SHOPIFY_CLI_THEME_TOKEN
3636
*/
3737
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-info.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface themeinfo {
2525
'--no-color'?: ''
2626

2727
/**
28-
* Password generated from the Theme Access app.
28+
* Password generated from the Theme Access app or an Admin API token.
2929
* @environment SHOPIFY_CLI_THEME_TOKEN
3030
*/
3131
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-list.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface themelist {
3131
'--no-color'?: ''
3232

3333
/**
34-
* Password generated from the Theme Access app.
34+
* Password generated from the Theme Access app or an Admin API token.
3535
* @environment SHOPIFY_CLI_THEME_TOKEN
3636
*/
3737
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-metafields-pull.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface thememetafieldspull {
1313
'--no-color'?: ''
1414

1515
/**
16-
* Password generated from the Theme Access app.
16+
* Password generated from the Theme Access app or an Admin API token.
1717
* @environment SHOPIFY_CLI_THEME_TOKEN
1818
*/
1919
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-open.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface themeopen {
3131
'--no-color'?: ''
3232

3333
/**
34-
* Password generated from the Theme Access app.
34+
* Password generated from the Theme Access app or an Admin API token.
3535
* @environment SHOPIFY_CLI_THEME_TOKEN
3636
*/
3737
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-profile.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface themeprofile {
1919
'--no-color'?: ''
2020

2121
/**
22-
* Password generated from the Theme Access app.
22+
* Password generated from the Theme Access app or an Admin API token.
2323
* @environment SHOPIFY_CLI_THEME_TOKEN
2424
*/
2525
'--password <value>'?: string

docs-shopify.dev/commands/interfaces/theme-publish.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface themepublish {
1919
'--no-color'?: ''
2020

2121
/**
22-
* Password generated from the Theme Access app.
22+
* Password generated from the Theme Access app or an Admin API token.
2323
* @environment SHOPIFY_CLI_THEME_TOKEN
2424
*/
2525
'--password <value>'?: string

0 commit comments

Comments
 (0)