Method: Bundler::Thor#help
- Defined in:
- lib/bundler/vendor/thor/lib/thor.rb
permalink #help(command = nil, subcommand = false) ⇒ Object
[View source]
663 664 665 666 667 668 669 670 671 672 673 |
# File 'lib/bundler/vendor/thor/lib/thor.rb', line 663 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 |