Sha256: 6f31844760659d815974d715436dcf095169e206151b349ea81d28abff732b64
Contents?: true
Size: 850 Bytes
Versions: 2
Compression:
Stored size: 850 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.generate(options) end desc "version", "version" def version p VERSION end end end Udgenerator::CLI.start(ARGV)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
udgenerator-1.0.1 | exe/udgenerator |
udgenerator-1.0.0 | bin/udgenerator |