#!/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