Method: Bundler::Thor#help
- Defined in:
- lib/bundler/vendor/thor/lib/thor.rb
#help(command = nil, subcommand = false) ⇒ Object
652 653 654 655 656 657 658 659 660 661 662 |
# File 'lib/bundler/vendor/thor/lib/thor.rb', line 652 def help(command = nil, subcommand = false) if command if self.class.subcommands.include? command self.class.subcommand_classes[command].help(shell, true) else self.class.command_help(shell, command) end else self.class.help(shell, subcommand) end end |