Sha256: 101a45efaeae4aef2fcf2a31e0553dc9f5decdbe48d74f67f671f9f88315a36b
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
module ThorTemplate class CLI < Command class_option :verbose, :type => :boolean class_option :noop, :type => :boolean desc "new NAME", "generates project based on thor template" long_desc Help.text(:new) def new(name) Generator.new(options.merge(name: name)).run end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thor_template-2.1.1 | lib/thor_template/cli.rb |
thor_template-2.1.0 | lib/thor_template/cli.rb |