-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
help with-in multiple levels of subcommands having same default_command does not work #131
Comments
Perfect this fixed the issue. |
There might be also another small issue with the helo command. For the above same sample code it does not show the command description fot levels greater than 2 depth. As shown in the below example, the commands do not get a description!
|
Sorry this took a while, yeah, this seems like a bug. |
This is mostly a note to myself, but the issue is totally related to #96. GLI aggressively coalesces all flags/switches of subcommands to be "owned" by the parent command. So that said options have documentation, the calls to |
Passing descs and skipping them up to the parent command means that sub-sub-commands and below get no documentation. UGH.
OK, this should be fixed in 2.5.6. Please let me know if not and thanks again for the test code |
sure! |
Having multiple levels of nested subcommands with default_command for some of them causes this problem:
error: undefined method
+' for nil:NilClass`Stack Trace:
Sample Code:
The text was updated successfully, but these errors were encountered: