Sha256: ce675095a04da0999c5874dd9a9362a85902e3669fdab32d11d73aac7d9b902c
Contents?: true
Size: 378 Bytes
Versions: 10
Compression:
Stored size: 378 Bytes
Contents
module CliTemplate class CLI < Command class_option :verbose, :type => :boolean class_option :noop, :type => :boolean long_desc Help.text(:new) New.cli_options.each do |args| option *args end register(New, "new", "new NAME", "generates new CLI project") desc "version", "prints version" def version puts VERSION end end end
Version data entries
10 entries across 10 versions & 1 rubygems