Sha256: 7a1095012811a80eaaa8d6e789abdc5738d52cd5680952d7d7085288168f1c0c
Contents?: true
Size: 328 Bytes
Versions: 435
Compression:
Stored size: 328 Bytes
Contents
var parse = require('../'); var test = require('tape'); test('stops parsing on the first non-option when stopEarly is set', function (t) { var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], { stopEarly: true }); t.deepEqual(argv, { aaa: 'bbb', _: ['ccc', '--ddd'] }); t.end(); });
Version data entries
435 entries across 234 versions & 32 rubygems