cli icon indicating copy to clipboard operation
cli copied to clipboard

[Feature]: Add Reconciliation Strategy as Flag

Open philippjordan opened this issue 1 year ago • 4 comments

What area(s) will this request affect?

Theme

What type of change do you want to see?

New feature

Overview

It would be nice to set the Reconciliation Strategy as a flag within the Shopifiy CLI Commend like:

shopify theme dev --theme-editor-sync --environment dev --strategy="local"

Motivation

When we are using the Shopify CLI within a Docker Container we receive sometimes this error

╭─ error ──────────────────────────────────────────────────────────────────────╮
│                                                                              │
│  Failed to prompt:                                                           │
│                                                                              │
│  Reconciliation Strategy                                                     │
│                                                                              │
│  This usually happens when running a command non-interactively, for example  │
│   in a CI environment, or when piping to or from another process.            │
│                                                                              │
│  To resolve this, specify the option in the command, or run the command in   │
│  an interactive environment such as your local terminal.                     │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

philippjordan avatar Sep 26 '24 13:09 philippjordan

I'd appreciate this feature too.

darrencraig avatar Sep 26 '24 16:09 darrencraig

This would be amazing.

100% of the time we never resort to the remote so adding as a flag so we can force to always use the local version would be good.

rcasimmons avatar Sep 27 '24 07:09 rcasimmons

Would be great. We missing it so much in our workflow, please have a look at it.

KukinPavel avatar Sep 27 '24 08:09 KukinPavel

Thank you for bringing up this issue. If the Shopify team could address it, it would be a significant help for our team as well. We appreciate any updates or resolutions!

rfetiu-webweit avatar Sep 27 '24 09:09 rfetiu-webweit

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[bot] avatar Nov 09 '24 03:11 github-actions[bot]

Need this feature

piouc avatar Nov 10 '24 01:11 piouc

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[bot] avatar Dec 22 '24 03:12 github-actions[bot]

Could this get a look? When using a source control system you always use the local version of the files (eg, when changing branch or pulling changes), the question is confusing for new developers. The proposed switch would be perfect.

Gabriele-Tomberli avatar May 27 '25 08:05 Gabriele-Tomberli

Yeah, having this feature would be great!

KikoTs avatar Jun 20 '25 14:06 KikoTs

Yes, we also need this, badly. Why was this closed?

AndreaPontrandolfo avatar Jul 16 '25 15:07 AndreaPontrandolfo