stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

feat(storefront): STRF-9258 Stencil Pull: Provide an activate option

Open jairo-bc opened this issue 3 years ago • 1 comments

What?

Refactored Stencil Pull command to have ability write unit tests. Added activate option for Stencil Pull

Tickets / Documentation

jairo-bc avatar Jul 26 '21 17:07 jairo-bc

@mattolson Maybe the name is not the best. I'm using the same as we currently have for stencil push (https://github.com/bigcommerce/stencil-cli/blob/master/bin/stencil-push.js)

Regarding functional approach. Currently if you run stencil push, it will update only global settings. If you run stencil push --activate Bold, it will update only Bold variation. If you run stencil pull, it will update only global settings.

And I'm adding activate option for stencil pull to have consistency with stencil push

jairo-bc avatar Aug 03 '21 15:08 jairo-bc