first version

This commit is contained in:
Annika
2022-08-09 16:47:50 -06:00
commit 1826a6d70d
1039 changed files with 197766 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
var parse = require('../');
var test = require('tape');
test('parse with modifier functions' , function (t) {
t.plan(1);
var argv = parse([ '-b', '123' ], { boolean: 'b' });
t.deepEqual(argv, { b: true, _: [123] });
});