Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Commands to rename, duplicate, view or customize a remote theme #2000

Closed
ADTC opened this issue Jan 7, 2022 · 26 comments
Closed
Labels
Area: @shopify/theme @shopify/theme package issues no-issue-activity Type: Enhancement New feature or request

Comments

@ADTC
Copy link
Contributor

ADTC commented Jan 7, 2022

Since shopify theme has delete and publish commands, it will also be nice if there are other commands based on the options available in Shopify Admin.

image image

rename command, the CLI version of the Rename option. Shows the list of themes to pick from, then shows the prompt to enter a new name. A blank input cancels the operation.

duplicate command, the CLI version of the Duplicate option. Shows the list of themes to pick from, then shows the prompt to enter a name for the duplicate. A blank input cancels the operation.

view command (with preview and customize as aliases), the CLI version of the View or Preview as well as the Customize options. Shows the list of themes to pick from, then shows the two links which will help view or customize the theme:

  View your theme:
  https://sample-store.myshopify.com/

  Customize this theme in the Online Store Editor:
  https://sample-store.myshopify.com/admin/themes/1234567890/editor
@github-actions
Copy link
Contributor

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.

→ If there's no activity within a week, then a bot will automatically close this.

Thanks for helping to improve Shopify's dev tooling and experience.

@ADTC
Copy link
Contributor Author

ADTC commented Apr 10, 2022

Still relevant.

@chrisfwd
Copy link

We manage a lot of stores for a client of ours. With the deployment workflow we use, theme duplicate would really cut out a LOT of manual work we have to do currently to duplicate a theme before publishing

@octipus
Copy link

octipus commented May 3, 2022

we would love this feature too. Currently there is no way to connect any Duplicated theme to the Gihub repo.
It seems it only works one way

@kubenstein
Copy link

kubenstein commented May 22, 2022

The way how i built continuous deployments, is:

  1. create new theme (new command)
  2. fetch its id (get --list | grep command)
  3. upload files to that new theme (deploy command)
    I keep theme files under git but as an alternative you can just download existing theme using download command, to simulate duplication.
  4. publish (publish command)

@github-actions
Copy link
Contributor

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.

→ If there's no activity within a week, then a bot will automatically close this.

Thanks for helping to improve Shopify's dev tooling and experience.

@ADTC
Copy link
Contributor Author

ADTC commented Aug 21, 2022

Perhaps the view/preview command could automatically open the browser to the theme preview, and the customize command could automatically open it to the customize link.

@ADTC
Copy link
Contributor Author

ADTC commented Aug 21, 2022

Oh, do I have to explicitly say "still relevant"? 😆

@paulwhipps
Copy link

This would be very useful to have.
The workaround I am using is shopify theme pull -l and shopify theme push [duplicate theme details]
However this is adding minutes to execution time in a CI pipeline. Duplication (within admin) is really fast. Having that exposed through CLI would cut execution times significantly.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2023

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.

→ If there's no activity within a week, then a bot will automatically close this.

Thanks for helping to improve Shopify's dev tooling and experience.

@ADTC
Copy link
Contributor Author

ADTC commented Feb 9, 2023

still relevant

@github-actions
Copy link
Contributor

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.

→ If there's no activity within a week, then a bot will automatically close this.

Thanks for helping to improve Shopify's dev tooling and experience.

@chrisfwd
Copy link

Still relevant

@ADTC
Copy link
Contributor Author

ADTC commented May 13, 2023

Thank you! I was getting tired of fighting off this bot...

Hi @isaacroldan @Poitrin @Arkham @karreiro @gonzaloriestra @alvaro-shopify is there any way to keep this open and give it more attention? Thank you.

@ADTC
Copy link
Contributor Author

ADTC commented May 14, 2023

@chrisfwd Let's post this when a stalebot or similar is encountered... https://drewdevault.com/2021/10/26/stalebot.html

@karreiro karreiro transferred this issue from Shopify/shopify-cli May 29, 2023
@karreiro karreiro added Type: Enhancement New feature or request Area: @shopify/theme @shopify/theme package issues labels May 29, 2023
@github-actions
Copy link
Contributor

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.

@github-actions
Copy link
Contributor

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.

@ryangall7
Copy link

This is still relevant, would love a command to rename themes.

@ADTC
Copy link
Contributor Author

ADTC commented Nov 28, 2023

Stale Bot: How to sweep issues under the rug and make them vanish from the backlog.

@sormiston
Copy link

Still relevant!

@knjshimi
Copy link

Very keen to see the duplicate command. Depending on the theme, duplicate + rename + push (to overwrite only the difference) is considerably faster than 'push --unpublished --theme My New Theme'.

@andrewwise
Copy link

Still relevant. This would be very useful for CI/CD. Any chance it could be re-opened?

@knjshimi
Copy link

Still relevant!

@JeriverGAP
Copy link

still relevant! Please reopen.

@england9911
Copy link

+1 this would be very useful

@ADTC
Copy link
Contributor Author

ADTC commented Jun 14, 2024

Please re-open and label this issue with stale-exempt to prevent automatic closure. I have proposed the label in PR #4054, which has since been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/theme @shopify/theme package issues no-issue-activity Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests