This is a pretty big pr, be warned, pour yourself a long macchiato and get comfortable.
This adds full support for running as a plugin to aio-cli[1], mostly the code has not changed, but there has been a lot of shifting to move things to be more compatible with oclif[2]
Argument parsing and arg handling is now done by oclif definitions.
Library code is unchanged, and functionality should not have changed, however this is difficult to verify without tests. 🤕
index.js is gone, and the packages entry point is now bin/run
lib/index.js does some extra magic to pre-parse args, and handle space delimiting
test setup is done, I hope you like jest[3]
basic tests are in place to ensure all commands have a run method, there needs to be much more here.
hooks are present for CI with travis/appveyor
.eslintrc file is present and prefers 2 spaces, and no semis, I didn't fix any of the lib code to avoid extra changes.
This is a pretty big pr, be warned, pour yourself a long macchiato and get comfortable. This adds full support for running as a plugin to aio-cli[1], mostly the code has not changed, but there has been a lot of shifting to move things to be more compatible with oclif[2] Argument parsing and arg handling is now done by oclif definitions.
Library code is unchanged, and functionality should not have changed, however this is difficult to verify without tests. 🤕
[1] https://www.npmjs.com/package/@adobe/aio-cli [2] https://oclif.io/ [3] https://jestjs.io/