Need the ability to unlink from a store and link to a new store via the Command Line #1529
filcap
started this conversation in
Ideas + Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are in the process of developing CLI scripts to automate certain tasks and we need to ensure that switching between Hydrogen environments is easy and seamless. Currently, we are facing an issue with the 'unlink' command, which is not fully detaching from the original store's connection and environment variables. To give you a better idea:
npx shopify hydrogen link
npx shopify hydrogen unlink
npx shopify hydrogen link
I would expect that link would offer the ability to reconnect to a new instance so we can try to connect to new stores.
We suspect the reason for this is that in the
.shopify/project.json
even after unlinking the reference for the previous instance still exists in that file.CC: @benjaminsehl
Beta Was this translation helpful? Give feedback.
All reactions