-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshopifly_functionality.txt
More file actions
29 lines (16 loc) · 972 Bytes
/
shopifly_functionality.txt
File metadata and controls
29 lines (16 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
As a user
When I am at the command line inside of a Shopify theme repository
And I am on the master branch
And I type “fly branch my-branch-name”
Then the branch “my-branch-name” is created in git and checked out
And my Shopify shop has a new theme called “my-branch-name” which is a duplicate of the master branch
Checks you are in a master branch?
Checks you are in a shopify theme repository?
Shopify API to get master branch and make a copy and rename copy with new branch name
Serve new theme ID
add option to specify which theme you would like to copy and rename
if no option is provided search for theme with name: "master" or role: "main"
LEE
You should basically select what store you want to be working on. And then Shopifly should manage keeping branches / themes in sync within that store. And there should be shortcuts, i.e. fly preview which opens the theme preview in the browser.
-------
` ` to run commands? is there another way?