1
2
3
4
5
6
7
8
9
10
11
12
| var cli = require('../../../lib/simple-cli');
| var path = require('path');
|
| module.exports = cli('opts-test', {
| cmd: path.resolve(__dirname, '../test.js'),
| singleDash: true,
| custom: {
| foo: function(val) {
| console.log('Some foo happened!', val, 'was involved.');
| }
| }
| });
|
|