Sha256: 4d6ea08ac85c828ae120149f0e87bb901ab7e2a751ac36e82d2e22a6d1117d99

Contents?: true

Size: 554 Bytes

Versions: 1

Compression:

Stored size: 554 Bytes

Contents

require 'FileUtils'
require 'thor'

module Uppercutbuild
  class CLI < Thor
	  include Thor::Actions
	
  	def initialize(*)
  		super
  		
  		@proj = Uppercutbuild::Project.new
  	end
	
    desc "install", "installs uppercut build in the current directory"
	  method_options :location => :string
    def install(*names)
		#@proj.ensure_default_config
		
  		loc = @proj.get_location
  		cl = options['location']
  		loc = cl unless cl.nil?
		
			Uppercutbuild::Loader.load

    end
	
  	def self.source_root
  		File.dirname(__FILE__)
  	end
	
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uppercutbuild-0.9.0.334 bin/uppercut/cli.rb