Comparing version 1.0.0 to 1.0.1
11
args.js
@@ -5,8 +5,17 @@ const commandLineArgs = require('command-line-args') | ||
{ name: 'headers', alias: 'h', type: Boolean }, | ||
{ name: 'format', alias: 'f', type: String } | ||
{ name: 'format', alias: 'f', type: String }, | ||
{ name: 'help', type: Boolean } | ||
] | ||
const options = commandLineArgs(optionDefinitions, { partial: true }); | ||
if (options.help) { | ||
console.log('csvfmt usage: https://github.com/pokle/csvfmt') | ||
process.exit(0); | ||
} | ||
options.files = options._unknown || [] | ||
delete options._unknown | ||
module.exports = options |
{ | ||
"name": "csvfmt", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "bin": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
6190
7
28
1
35