Fixing "juju help commands"
Tim Penhey
tim.penhey at canonical.com
Tue May 24 22:48:38 UTC 2016
On 25/05/16 00:12, Marco Ceppi wrote:
> Even if you don't expect people to run them, hidding them seems awkward.
> Better to simply educate with good help output about what the command
> does and when/why use the command.
Was thinking, perhaps it would be better to have a feature flag to use
the "hidden" commands instead of the ability to hide commands.
If you set the feature flag, you get the additional commands, and they
show up in help etc. That way a way to get users to run them could be
something like:
JUJU_FEATURE_FLAGS=dev-debug juju dump-model
or something like that.
Tim
More information about the Juju-dev
mailing list