Open Cryptophobia opened 6 years ago
From @Joshua-Anderson on June 14, 2017 16:21
Is deis apps:destroy --help
helpful for you? As a general rule we didn't list options because they're fairly standardized and not necessary. For example, running deis apps:destroy
in the app's directory would destroy it.
From @bacongobbler on June 14, 2017 16:24
Perhaps a follow-up would be to display the help text instead of a generic usage message. That way it's the best of both worlds: the user gets more helpful usage instructions, and we don't have to individually list each option flag available to each command.
From @bacongobbler on June 14, 2017 16:26
I know cobra has a way to change the usage message... Not sure about docopt-go (what workflow-cli uses).
From @Overdrivr on June 15, 2017 5:44
@Joshua-Anderson My bad, I thought I was already getting the full help message while in fact it was a stripped down version. I do agree with you @bacongobbler
From @Overdrivr on June 14, 2017 5:1
Running
yields the help message because syntax is not correct. The
-a
flag is missing. However, the help message is not very helpful, it should at least mention this flag.It's not a big deal, but IMO it would improve ergonomy a little bit
Copied from original issue: deis/workflow-cli#310