Command
Handles help for commands @since 0.6.0
# File lib/yard/cli/help.rb, line 6 def description; "Retrieves help for a command" end
# File lib/yard/cli/help.rb, line 8 def run(*args) if args.first && cmd = CommandParser.commands[args.first.to_sym] cmd.run('--help') else log.puts "Command #{args.first} not found." if args.first CommandParser.run('--help') end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.