lib/boty/cli.rb in boty-0.0.4 vs lib/boty/cli.rb in boty-0.0.6
- old
+ new
@@ -1,11 +1,11 @@
require "thor"
module Boty
class CLI < Thor
include Thor::Actions
- class_option :verbose, type: :boolean
+ class_option :verbose, type: :boolean, default: true
attr_reader :bot_name, :company, :api_key
source_root File.expand_path("../../../template", __FILE__)
@@ -17,9 +17,10 @@
directory "project", bot_name, verbose: verbose
inside bot_name do
# for some reason the example .rspec isn't been copied
create_file ".rspec", "--require=spec_helper"
run "chmod +x bot"
+ run "bundle install"
end
end
private