vorpal.command('find [sumanOptions] [folder]')
.description('find test files to run')
.action(function (args: Array<string>, cb: Function) {
// args => {sumanOptions: 'a b c'}
});
how can I pass a string of commands ('subcommands') for sumanOptions? something like this:
vorpal> find "a b --fiz-biz=3 --foo=bar" myfolder
such that in the args in the action callback, looks like:
// args => {sumanOptions: 'a b --fiz-biz=3 --foo=bar'}
I am looking to get the exact string contents there.
is this possible? or is this problem the "subcommands" issue I have been seeing in the issue tracker? I'd like to be able to do this, and so far, have not been able to figure out how to do it.
Say we have this:
how can I pass a string of commands ('subcommands') for sumanOptions? something like this:
vorpal> find "a b --fiz-biz=3 --foo=bar" myfolder
such that in the args in the action callback, looks like:
I am looking to get the exact string contents there.
is this possible? or is this problem the "subcommands" issue I have been seeing in the issue tracker? I'd like to be able to do this, and so far, have not been able to figure out how to do it.