Sha256: 56f056e54d77ab0856ecda0869a0ed8aaebe1b4f92ddab20ff84b011f01c4653
Contents?: true
Size: 436 Bytes
Versions: 52
Compression:
Stored size: 436 Bytes
Contents
module YARD module CLI # Handles help for commands # @since 0.6.0 class Help < Command def description; "Retrieves help for a command" end def run(*args) if args.first && cmd = CommandParser.commands[args.first.to_sym] cmd.run('--help') else puts "Command #{args.first} not found." if args.first CommandParser.run('--help') end end end end end
Version data entries
52 entries across 43 versions & 5 rubygems