bin/jacana in jacana-0.1.3 vs bin/jacana in jacana-0.1.4

- old
+ new

@@ -38,24 +38,24 @@ system("mv composer.phar /usr/local/bin/composer") end end opt.on('-v') do - require "lib/commands/version" + require "../lib/commands/version" puts "Version: #{Jacana::VERSION_P} - #{Jacana::VERSION_NAME} @ #{Jacana::AUTHOR}" exit end opt.on('-h') do |help| - require "lib/commands/help" + require "../lib/commands/help" Jacana::Help.new exit end opt.on('-i VAL,PATH,NAME') do |package| - require "lib/commands/install" + require "../lib/commands/install" package = package.split(",") i = Installer::Handler.new case package[0] when 'composer' i.get_composer @@ -63,10 +63,10 @@ i.get_laravel(package[1], package[2]) when '' puts "Command error. Please check jacana -h" end exit -end +end opt.on('--FRAMEWORK=PATH,NAME,VAL') do |framework| framework = framework.split(",") case framework[2] when 'laravel'