Sha256: b2904a5fc58d82d2072b40fe977d2a1d8a6012fedb3ca67bbceed6d632807980

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require 'thor'
require 'crust'

module Crust
  class CLI < Thor

    desc 'generate', 'Generates the Objective-C file(s)'
    method_options :path => :string, :base_only => :boolean

    def generate
      puts Crust::Generator.generate(options[:path], options[:base_only])
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
objc-crust-0.0.1 lib/crust/cli.rb