Closed 1oglop1 closed 5 years ago
Hmm, good spot. I don't think this is intentional meaning this option (--help
) probably isn't set on whatever attribute we're reading to build the document. Marking as a bug so I can investigate at some point.
Guess this might be some click internal trick.
I will just mention in my docs that every command has a --help
for now.
I've looked into this. I can resolve it by changing this line:
If we switch ctx.command.params
to ctx.command.get_params(ctx)
, we get the help message. However, the help message defaults to this:
Show this message and exit.
This isn't that useful and I don't think we probably want to include it as-is. We could do something like check if Command.get_help_option
returns anything and provide our own parameter, but I don't think that's all that useful. I'm going to close this as a WONTFIX, but if you disagree please consider reopening with a rationale for why we should include it :smile:
Hi I have successfully used this awesome plugin. My application has
--help
to every command or sub command. But docs generated by the plugin does not contain it however click itself yes. Is this intentional or not?Example out put of
sceptre create --help