avoid minimal coverage check (nyc) for cli.ts
Summary
nyc configuration which is added to package.json is expecting that minimal coverage condition is fulfilled for src/cli.ts file, for which at the moment, tests on commander were not planed (don't exist) and implementation (logic) shouldn't be part of cli.ts file, which only should call them from other (tested) files.
Steps to reproduce
Run tests on @openstapps/api which uses @openstapps/configuration@0.5.0.
What is the current bug behavior?
npm run test (for @openstapps/api which is using @openstapps/configuration@0.5.0) is failing.
What is the expected correct behavior?
Should pass.
Relevant logs and/or screenshots
ERROR: Coverage for lines (0%) does not meet threshold (95%) for /home/jkrunic/Desktop/OpenStApps/api/src/cli.ts
ERROR: Coverage for functions (0%) does not meet threshold (95%) for /home/jkrunic/Desktop/OpenStApps/api/src/cli.ts
ERROR: Coverage for branches (0%) does not meet threshold (95%) for /home/jkrunic/Desktop/OpenStApps/api/src/cli.ts
ERROR: Coverage for statements (0%) does not meet threshold (95%) for /home/jkrunic/Desktop/OpenStApps/api/src/cli.ts
Possible fixes
Add src/cli.ts to exclude.