Sha256: 0b1db0c1338fedb800d1974343ce8f911fc903a0aa355040d997cf625c4f88cc

Contents?: true

Size: 762 Bytes

Versions: 1

Compression:

Stored size: 762 Bytes

Contents

#!/usr/bin/env ruby

require "extracting_id/version"
require "extracting_id"
require "thor"

module ExtractingId
  #= ExtractingId CLI
  class CLI < Thor
    default_task :create

    option :storyboard, :type => :string, :aliases => '-s', :required => true,  :desc => 'input file'
    option :output, :type => :string, :aliases => '-o', :default => "./", :desc => 'output directory'
    option :file_name, :type => :string, :aliases => '-f', :default => "ExtactedID", :desc => 'output file name'
    desc "create", "create UserDefaults wrapper"
    def create
      Core.new.main(options[:storyboard], options[:output], options[:file_name])
    end

    desc "version", "version"
    def version
      p VERSION
    end
  end
end

ExtractingId::CLI.start(ARGV)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ExtractingIdFromStoryboard-0.1.0 exe/extracting_id