Sha256: 5a4184843cfc0fea4925b8e4105c6f97d1f533c631003a0c194b7a1ef1ac47ac
Contents?: true
Size: 659 Bytes
Versions: 2
Compression:
Stored size: 659 Bytes
Contents
begin require 'quickl' rescue LoadError require 'rubygems' gem 'quickl' retry end # # FIX: overview # # SYNOPSIS # #{command_name} [options] ARGS... # # OPTIONS # #{summarized_options} # # DESCRIPTION # FIX: description # class <%= cmd_class_name %> < Quickl::Command(__FILE__, __LINE__) VERSION = "0.1.0" # Install options options do |opt| <%= option_helpers.collect{|s| tabto(s,4)}.join("\n") %> end # Run the command def execute(args) # FIX: do something here puts "Hello #{args.join(' and ')} from #{program_name}" end end # class <%= cmd_class_name %> if __FILE__ == $0 <%= cmd_class_name %>.run(ARGV) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quickl-0.2.0 | templates/single.erb |
quickl-0.1.1 | templates/single.erb |