module CommandHelpFormatPatch
Patch GLI’s help formatters so they don’t show subcommands that are supposed to be hidden.
Public Instance Methods
format()
click to toggle source
Calls superclass method
# File lib/patches/gli.rb, line 4 def format @command.commands.reject! {|k,c| c.nodoc} @command.commands_declaration_order.reject! {|c| c.nodoc} super end