bionode-fasta
Advanced tools
Comparing version 0.4.3 to 0.5.0
14
cli.js
@@ -7,3 +7,9 @@ #!/usr/bin/env node | ||
var argv = minimist(process.argv.slice(2), { boolean: ['p', 'path'] }); | ||
var argv = minimist(process.argv.slice(2), { | ||
boolean: ['path', 'file'], | ||
alias: { | ||
file: 'f', | ||
path: 'p' | ||
} | ||
}) | ||
@@ -19,4 +25,6 @@ if (argv.help) { | ||
var options = {} | ||
if (argv.p || argv.path) { options.includePath = true } | ||
var options = { | ||
includePath: argv.path, | ||
filenameMode: argv.file && !argv.write | ||
} | ||
@@ -23,0 +31,0 @@ var output = argv._[1] ? fs.createWriteStream(argv._[1]) : process.stdout |
{ | ||
"name": "bionode-fasta", | ||
"description": "Streamable FASTA parser", | ||
"version": "0.4.3", | ||
"version": "0.5.0", | ||
"homepage": "http://bionode.io", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
614250
1849