Sha256: 0ea332ad45adbdccb4bd2772b0d441c32985416ed0bacce3b85b61e77f7257e8
Contents?: true
Size: 380 Bytes
Versions: 5
Compression:
Stored size: 380 Bytes
Contents
require "thor" require "uppercrust" module Uppercrust class CLI < Thor desc "generate files", "Generates .h and .m files from the given directory" option :path, :required => true, :aliases => '-p' option :base_only, :type => :boolean, :aliases => '-b' def generate puts Uppercrust::Generator.generate(options[:path], options[:base_only]) end end end
Version data entries
5 entries across 5 versions & 2 rubygems