Class: Bench::Command::Help
- Inherits:
-
Object
- Object
- Bench::Command::Help
- Defined in:
- lib/bench/command/help.rb
Overview
Show help about a specific command
SYNOPSIS
bench #{command_name} COMMAND
Instance Method Summary (collapse)
-
- (Object) execute(args)
Command execution.
Instance Method Details
- (Object) execute(args)
Command execution
15 16 17 18 19 |
# File 'lib/bench/command/help.rb', line 15 def execute(args) sup = Quickl.super_command(self) sub = (args.size != 1) ? sup : Quickl.sub_command!(sup, args.first) puts Quickl.help(sub) end |