Sha256: 251f997e0beafd0889aaff1f5786fdfb6e9b9baae386b89bbb6acb255c234115
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
class Delegate # # Show help about a specific command # # SYNOPSIS # #{program_name} #{command_name} help COMMAND # class Help < Quickl::Command(__FILE__, __LINE__) # Let NoSuchCommandError be passed to higher stage no_react_to Quickl::NoSuchCommand # Command execution def execute(args) if args.size != 1 puts super_command.help else cmd = has_command!(args.first, super_command) puts cmd.help end end end # class Help end # class Delegate
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
quickl-0.1.1 | examples/delegate/lib/help.rb |