Sha256: 348e3eb89d0363a5029bea724949c8a680689b9ac6128d9bbc62782194727e61
Contents?: true
Size: 289 Bytes
Versions: 1
Compression:
Stored size: 289 Bytes
Contents
module Laka class Sub < Command desc "goodbye NAME", "say goodbye to NAME" long_desc Help.text("sub:goodbye") option :from, desc: "from person" def goodbye(name="you") puts "from: #{options[:from]}" if options[:from] puts "Goodbye #{name}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
laka-0.1.0 | lib/laka/sub.rb |