Sha256: 1f975c1395f4d673c852d34d201719b7b226900e81c3b538d22c9d9d10a790f3
Contents?: true
Size: 851 Bytes
Versions: 1
Compression:
Stored size: 851 Bytes
Contents
#!/usr/bin/env ruby require "udgenerator/version" require "udgenerator" require "thor" module Udgenerator #= Udgenerator CLI class CLI < Thor default_task :update option :auto_init, :type => :boolean, :aliases => '-a', :default => true, :desc => 'auto initialization. all zero or empty string, etc ...' option :input, :type => :string, :aliases => '-i', :default => true, :required => true, :desc => 'input file' option :output, :type => :string, :aliases => '-o', :default => true, :desc => 'output directory' option :file_name, :type => :string, :aliases => '-f', :default => true, :desc => 'output file name' desc "generate", "generate storyboard" def update Core.new.generator(options) end desc "version", "version" def version p VERSION end end end Udgenerator::CLI.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
udgenerator-1.0.2 | exe/udgenerator |