Sha256: 6f8ea13a27b4e141774a1178f0d7f72e3952df479739c226e921e0fe56edfbb4
Contents?: true
Size: 364 Bytes
Versions: 5
Compression:
Stored size: 364 Bytes
Contents
require 'thor' require 'thor_template/command' require 'thor_template/cli/help' module ThorTemplate class CLI < Command class_option :verbose, :type => :boolean class_option :noop, :type => :boolean desc "new NAME", "generates project based on thor template" def new(name) Generator.new(options.merge(name: name)).run end end end
Version data entries
5 entries across 5 versions & 1 rubygems