exe/udgenerator in udgenerator-1.0.2 vs exe/udgenerator in udgenerator-1.0.3
- old
+ new
@@ -8,13 +8,14 @@
#= 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"
+ option :input, :type => :string, :aliases => '-i', :default => "./", :required => true, :desc => 'input file'
+ option :output, :type => :string, :aliases => '-o', :default => "./", :desc => 'output directory'
+ option :file_name, :type => :string, :aliases => '-f', :default => "UserDefaults", :desc => 'output file name'
+ option :swift, :type => :boolean, :aliases => '-s', :default => false, :desc => 'swift'
+ desc "update", "update UserDefaults wrapper"
def update
Core.new.generator(options)
end
desc "version", "version"