Skip to content

Support --help for helpful help #54

Description

@mistresseve666

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions