Sha256: b717f9b3f3b9d203f1195556585ce65d3011754344cf4ccee92c816fb408afe1
Contents?: true
Size: 538 Bytes
Versions: 1
Compression:
Stored size: 538 Bytes
Contents
class Delegator # # 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 Delegator
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
quickl-0.2.0 | examples/delegator/lib/help.rb |