Skip to content

Commit 02b417b

Browse files
committed
Ensure all theme commands accept --path
1 parent c40ca99 commit 02b417b

21 files changed

+233
-46
lines changed

.changeset/brown-ligers-appear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/theme': patch
3+
---
4+
5+
Ensure all theme commands accept the --path flag

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ export interface themeconsole {
1818
*/
1919
'--password <value>'?: string
2020

21+
/**
22+
* The path to your theme directory.
23+
* @environment SHOPIFY_FLAG_PATH
24+
*/
25+
'--path <value>'?: string
26+
2127
/**
2228
* Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
2329
* @environment SHOPIFY_FLAG_STORE

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ export interface themedelete {
3030
*/
3131
'--password <value>'?: string
3232

33+
/**
34+
* The path to your theme directory.
35+
* @environment SHOPIFY_FLAG_PATH
36+
*/
37+
'--path <value>'?: string
38+
3339
/**
3440
* Include others development themes in theme list.
3541
* @environment SHOPIFY_FLAG_SHOW_ALL

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ export interface themeinfo {
3030
*/
3131
'--password <value>'?: string
3232

33+
/**
34+
* The path to your theme directory.
35+
* @environment SHOPIFY_FLAG_PATH
36+
*/
37+
'--path <value>'?: string
38+
3339
/**
3440
* Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
3541
* @environment SHOPIFY_FLAG_STORE

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ export interface themelist {
3636
*/
3737
'--password <value>'?: string
3838

39+
/**
40+
* The path to your theme directory.
41+
* @environment SHOPIFY_FLAG_PATH
42+
*/
43+
'--path <value>'?: string
44+
3945
/**
4046
* Only list themes with the given role.
4147
* @environment SHOPIFY_FLAG_ROLE

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ export interface themeopen {
3636
*/
3737
'--password <value>'?: string
3838

39+
/**
40+
* The path to your theme directory.
41+
* @environment SHOPIFY_FLAG_PATH
42+
*/
43+
'--path <value>'?: string
44+
3945
/**
4046
* Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
4147
* @environment SHOPIFY_FLAG_STORE

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ export interface themeprofile {
2424
*/
2525
'--password <value>'?: string
2626

27+
/**
28+
* The path to your theme directory.
29+
* @environment SHOPIFY_FLAG_PATH
30+
*/
31+
'--path <value>'?: string
32+
2733
/**
2834
* Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
2935
* @environment SHOPIFY_FLAG_STORE

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ export interface themepublish {
2424
*/
2525
'--password <value>'?: string
2626

27+
/**
28+
* The path to your theme directory.
29+
* @environment SHOPIFY_FLAG_PATH
30+
*/
31+
'--path <value>'?: string
32+
2733
/**
2834
* Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
2935
* @environment SHOPIFY_FLAG_STORE

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ export interface themerename {
3636
*/
3737
'--password <value>'?: string
3838

39+
/**
40+
* The path to your theme directory.
41+
* @environment SHOPIFY_FLAG_PATH
42+
*/
43+
'--path <value>'?: string
44+
3945
/**
4046
* Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
4147
* @environment SHOPIFY_FLAG_STORE

docs-shopify.dev/generated/generated_docs_data.json

Lines changed: 80 additions & 8 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)