MCPcopy
hub / github.com/lebab/lebab / parse

Function parse

test/OptionParserTest.js:4–6  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

2import OptionParser from './../src/OptionParser';
3
4function parse(argv) {
5 return new OptionParser().parse(['node', 'script.js'].concat(argv));
6}
7
8describe('Command Line Interface', () => {
9 it('when no transforms given, throws error', () => {

Callers 1

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…