Sha256: 38a89746296c0943c815a6e3138b7a8532dcbaa04d3b6e4fdb6d2cac521cfdb2

Contents?: true

Size: 717 Bytes

Versions: 5

Compression:

Stored size: 717 Bytes

Contents

<% if header %>
begin
  require 'quickl'
rescue LoadError
  require 'rubygems'
  gem 'quickl'
  retry  
end
<% 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 #{Quickl.program_name}"
  end

end # class <%= cmd_class_name %>
<% if footer %>
if __FILE__ == $0
  <%= cmd_class_name %>.run(ARGV)
end
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quickl-0.4.3 templates/single.erb
quickl-0.4.2 templates/single.erb
quickl-0.4.1 templates/single.erb
quickl-0.4.0 templates/single.erb
quickl-0.3.0 templates/single.erb