Sha256: 82e291048f2ca01cdf3a1fa76f9027c0e33a6dd36fcb7d18814f676908df7420

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

require 'thor'
require 'moblues/reader/model'
require 'moblues/generator/model'

module Moblues
  class CLI < Thor
    desc 'generate', 'generate the machine and human files'
    option :model, :required => true, :desc => 'Core Data model path'
    option :human, :required => true, :desc => 'Path where the human files will be stored'
    option :machine, :required => true, :desc => 'Path where the machine files will be stored'
    def generate
      Moblues.generate(options[:model], options[:human], options[:machine])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moblues-0.1.0 lib/moblues/cli.rb