初始提交

This commit is contained in:
yinzhou.ma
2026-07-16 22:51:02 +08:00
commit 815ae9e356
939 changed files with 402135 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
'use strict';
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] });
});