Added checks to make sure the specified track exists
Added precondition checks to validate input files and paths to return more informative error messages as per #2
This commit is contained in:
7
node_modules/optimist/example/boolean_single.js
generated
vendored
Normal file
7
node_modules/optimist/example/boolean_single.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
var argv = require('optimist')
|
||||
.boolean('v')
|
||||
.argv
|
||||
;
|
||||
console.dir(argv.v);
|
||||
console.dir(argv._);
|
||||
Reference in New Issue
Block a user