decking
decking copied to clipboard
Support --help for helpful help
If you try to pass --help
to any of the sub commands, you just get a lovely error message:
Error: Cluster --help does not exist in decking.json
at Decking._run (/usr/local/lib/node_modules/decking/lib/decking.js:231:11)
at Decking.commands.status (/usr/local/lib/node_modules/decking/lib/decking.js:108:17)
at Decking.execute (/usr/local/lib/node_modules/decking/lib/decking.js:57:13)
at Object._onImmediate (/usr/local/lib/node_modules/decking/bin/decking:25:20)
at processImmediate [as _immediateCallback] (timers.js:330:15)
Would be nice to actually produce help output. Maybe even also ignore anything that starts with a -
or --
from being a cluster name?
Seems kind of evil to name your cluster --help
.
Cheers for all these. Will start taking a look when I get back next week.
On Thursday, 28 August 2014, robodude666 [email protected] wrote:
If you try to pass --help to any of the sub commands, you just get a lovely error message:
Error: Cluster --help does not exist in decking.json at Decking._run (/usr/local/lib/node_modules/decking/lib/decking.js:231:11) at Decking.commands.status (/usr/local/lib/node_modules/decking/lib/decking.js:108:17) at Decking.execute (/usr/local/lib/node_modules/decking/lib/decking.js:57:13) at Object._onImmediate (/usr/local/lib/node_modules/decking/bin/decking:25:20) at processImmediate as _immediateCallback
Would be nice to actually produce help output. Maybe even also ignore anything that starts with a - or -- from being a cluster name?
Seems kind of evil to name your cluster --help.
— Reply to this email directly or view it on GitHub https://github.com/makeusabrew/decking/issues/54.
Agreed.