-
Notifications
You must be signed in to change notification settings - Fork 201
Fix --live
parameter, it should not imply --allow-live
in the theme push
command
#1807
Conversation
Is there any way to emit the theme name and ID before the question? This way, we can be sure which theme is being pushed to. Otherwise we're flying blind. |
@ADTC I'm not sure if I've understood the suggestion correctly. But, the theme being pushed is always your local theme. It's a bit different from when, for example, we execute With Am I missing something? |
Actually we're pushing the local theme files into a remote theme. If you execute
Anyway, when the prompt asks "Are you sure you want to push to the live theme?" I want to know, which theme is Shopify CLI seeing as the live theme right now? Hence the suggestion to show the theme name and ID before the question. |
If I didn't use the |
Ohh! Thanks for the clarification, @ADTC. We actually want to show the name and ID of the theme we're about to replace (the current live theme), correct? I created this issue to handle this #1809. Could you please take a look to ensure the expected message is good enough for what we want to accomplish? 🚀 |
WHY are these changes introduced?
We reconsidered this change considering @ADTC feedback.
WHAT is this pull request doing?
Now, the
--live
parameter does not imply--allow-live
in thetheme push
command anymore.How to test your changes?
Run
shopify theme push --live
and see the confirmation message:Update checklist