Sha256: 9190190233299e441859504593ae42992ef389408bf505da21f41cad7ec41bfb
Contents?: true
Size: 310 Bytes
Versions: 18
Compression:
Stored size: 310 Bytes
Contents
module <%= project_class_name %> 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
18 entries across 10 versions & 1 rubygems