Sha256: 450d4fcc84f32cc798028f3b221f00481e5cb2875caae1b92d10b29ca1470c0d

Contents?: true

Size: 621 Bytes

Versions: 2

Compression:

Stored size: 621 Bytes

Contents

#!/usr/bin/env ruby
require 'ftools'
require 'fileutils'
require File.join(File.dirname(__FILE__),'../lib/miso_java')

puts "\nMISO GENERATOR 2000 =============================================\n"
puts "=================================================================\n\n"

# Set task
if ARGV[0] == 'create' and ARGV.size == 2
  @task = 'create_app'
elsif ARGV.size >= 3 and ARGV[0] == 'scaffold'
  @task = 'scaffold'
else
  puts "To start a new app:   miso-java create puppyapp"
  puts "To create a scaffold: miso-java scaffold Puppy name breed owner cuteness\n\n"
  Process.exit
end

MisoJava.send(@task.to_sym, ARGV)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
miso-java-0.1.3 bin/miso-java
miso-java-0.1.2 bin/miso-java