Sha256: 87c88e795afd2ef02227664a5683491fda23f6b09319f5a994aede1417565ee5

Contents?: true

Size: 793 Bytes

Versions: 4

Compression:

Stored size: 793 Bytes

Contents

#!/usr/bin/env ruby

require 'cbaoth'
require 'cbaoth/version'

app_name = ARGV.first

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
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cbaoth-0.0.5 bin/cbaoth
cbaoth-0.0.4 bin/cbaoth
cbaoth-0.0.3 bin/cbaoth
cbaoth-0.0.2 bin/cbaoth