发布第一款

This commit is contained in:
yml2213
2021-12-29 16:05:53 +08:00
commit ae57e78caa
5175 changed files with 877264 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] });
});