Shopify / shopify-cli

Shopify CLI helps you build against the Shopify platform faster.
https://shopify.dev/tools/cli
Other
1.01k stars 201 forks source link

[BETA] Enable Theme Kit Access passwords #2664

Closed gonzaloriestra closed 2 years ago

gonzaloriestra commented 2 years ago

WHY are these changes introduced?

First step for https://github.com/Shopify/shopify-cli-planning/issues/332 Fixes https://github.com/Shopify/shopify-cli-planning/issues/365

A very similar PR was merged and then reverted, as we wanted to finish other related work first.

⚠️ We are still testing this functionality, it will be ready to use for everyone when we properly announce it and publish the documentation.

WHAT is this pull request doing?

How to test your changes?

Check that theme commands work the same way when logged in (by using the Admin API):

Check that they also work with a Theme Kit Access password (by using Theme Access Kit API):

Update checklist

lesterdefreitas commented 2 years ago

Hey guys, can someone please explain how this works, it sounds super useful. Is this a way to store credentials for each store and not have to manually log in / out between stores? @gonzaloriestra @alvaro-shopify

gonzaloriestra commented 2 years ago

@lesterdefreitas you can now use CLI 3.x for theme development. And you can easily switch the store by passing --store (unless it belongs to a different account). Or just use a Theme Access password from a specific store.

More info:

lesterdefreitas commented 2 years ago

@gonzaloriestra oh awesome, thanks for this!