Sha256: fb793c6ffeee1d746a870c1ce19cc21c930860911695cc8c35b28a3104b05e16

Contents?: true

Size: 820 Bytes

Versions: 4

Compression:

Stored size: 820 Bytes

Contents

#!/usr/bin/env ruby

require 'cbaoth'
require 'cbaoth/version'

app_name = ARGV.first
flag = ARGV[1] || ""

if app_name == '--help'
  puts
  puts "cbaoth v#{Cbaoth::VERSION}"
  puts 'Author: Curtis Ovard'
  puts "=" * 50
  puts
  puts 'The cbaoth creates a base ruby app, this layout is my base automation layout.'
  puts 'To create your app simply type the following from the command line. (replace my_app_name with your ruby app name)'
  puts 'It will generate a base ruby app within your current directory.'
  puts
  puts "\t $ cbaoth my_app_name"
  puts
  puts "Then follow the instructions output to the consel after that and you are set. The instructions just tell you to cd into"
  puts "new app dir and run the respec and guard init commands."
else
  gen = Cbaoth::Generator.new
  gen.generate app_name, flag
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cbaoth-0.0.9 bin/cbaoth
cbaoth-0.0.8 bin/cbaoth
cbaoth-0.0.7 bin/cbaoth
cbaoth-0.0.6 bin/cbaoth