You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ? CLI option was dropped in favor of -h or --help.
Only index.js, cli.js, and package.json are exported from this package.
require('swagger-spec-validator/bin/swagger-spec-validator.js') has been renamed to require('swagger-spec-validator/cli.js').
The in, out, and err properties of the options argument of swagger-spec-validator/cli.js are now stdin, stdout, and stderr to match process for easier calling.
Default values for the args and options arguments of swagger-spec-validator/cli.js are no longer provided, due to lack of compelling use-case, to avoid ambiguity, and to reduce code.
swagger-spec-validator/cli.js no longer accepts a callback argument. It returns a Promise with exit code.
Features
Use commander instead of yargs for command-line parsing (2a7c9c8)
Switch from nyc to c8 for native V8 coverage collection (d72a313)
Set process.exitCode instead of calling process.exit() in cli.js (247de91)