Sha256: 74f63383682c9c43f353f697f07b2856ad0af01c9929e639f0f4c70b28f8b4f0
Contents?: true
Size: 495 Bytes
Versions: 17
Compression:
Stored size: 495 Bytes
Contents
module TreasureData module Command def help(op) cmd = op.cmd_parse usage = List.cmd_usage(cmd) unless usage $stderr.puts "'#{cmd}' is not a td command. Run '#{$prog}' to show the list." List.show_guess(cmd) exit 1 end puts usage end def help_all(op) cmd = op.cmd_parse TreasureData::Command::List.show_help(op.summary_indent) puts "" puts "Type '#{$prog} help COMMAND' for more information on a specific command." end end end
Version data entries
17 entries across 17 versions & 1 rubygems