Method: YARD::CLI::Help#run
- Defined in:
- lib/yard/cli/help.rb
#run(*args) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/yard/cli/help.rb', line 9 def run(*args) cmd = args.first && CommandParser.commands[args.first.to_sym] if cmd cmd.run('--help') else log.puts "Command #{args.first} not found." if args.first CommandParser.run('--help') end end |