This project is using yargs to manage CLI options. See src/yargs.ts file
when doing yarn
command, formatter is executed with linter, etc.
jest is used to test the project.
yarn run test
is launching all the tests. A code coverage is also reported in ./coverage
folder.
Try to expect 100% of coverage when implementing a feature (for now only yargs.ts is not covered as I haven't figured out a good way to test it, welcome !)
The cli can also be generated to a native executable (run yar run exe
)
It will produce several native binaries.