wttech / crex-sdk

Javascript SDK for Creative Exchange API
MIT License
10 stars 4 forks source link

Added option to create package without importing #23

Closed panec closed 5 years ago

mateuszluczak commented 6 years ago

Please provide usage example with this PR

panec commented 6 years ago

Potential options to call with -p (--package) (none will upload the package): ce import -p - this will create default package ce-import.zip ce import example.zip -p - this will create package example.zip ce import -p example.zip - this will create package example.zip

Potential options to call with -f (--file) ce import -f example.zip - this will create package example.zip and follow rest of the default steps (push and install)

Potential ways to call this from npm script (with "scripts": { "package": "ce import -p" } inside package.json) npm run package -- 'example.zip' - this will create packageexample.zip`

panec commented 5 years ago

Yes it was tested and is working as expected.

toniedzwiedz commented 5 years ago

How's this coming along? We need this feature on our project and I'd rather not use an unmerged feature branch.