Sha256: 41ac383025b045a339010a6b1316e7498dcf07245184bc9a6f460ccc8acad02c
Contents?: true
Size: 970 Bytes
Versions: 2
Compression:
Stored size: 970 Bytes
Contents
#!/usr/bin/env ruby require 'cbaoth' require 'cbaoth/version' app_name = ARGV.first flag = ARGV[1] || "" if app_name == '--help' || app_name == '-h' 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 "=" * 50 puts "Flags" puts "-g\t\t\tThis flag will cause the app to not initialize git" puts puts "=" * 50 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cbaoth-0.1.1 | bin/cbaoth |
cbaoth-0.0.20 | bin/cbaoth |