You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
helmsman gets confused, and tries to run command-help --help, which of course won't typically exist. (Tested with 0.4.0.) Helmsman specifically avoids using the built-in help command in this case, which suggests that this is deliberate behavior, though it doesn't seem very help-ful!
The text was updated successfully, but these errors were encountered:
#!/usr/bin/env node
"use strict";
var path = require('path');
var helmsman = require('helmsman');
var name = path.basename(process.argv[1], '.js');
var cli = helmsman({localDir: './app/commands'});
cli.on('--help', function(){
console.log('Usage: ' + name + ' [options] [command]');
});
cli.parse();
Call it foo. I run foo help and it gives me help. I run foo --help and it gives me help. I run foo help --help and it crashes. It should just give me the same help.
helmsman gets confused, and tries to run
command-help --help
, which of course won't typically exist. (Tested with 0.4.0.) Helmsman specifically avoids using the built-inhelp
command in this case, which suggests that this is deliberate behavior, though it doesn't seem very help-ful!The text was updated successfully, but these errors were encountered: