lib/caboodle/command.rb in caboodle-0.2.30 vs lib/caboodle/command.rb in caboodle-0.3.0
- old
+ new
@@ -26,19 +26,19 @@
Caboodle::Kit.ask_user_for_all_missing_settings
puts `cd #{site_name} && git add .`
puts `cd #{site_name} && git commit -m"initial setup"`
when /kit:add/
Caboodle::Config.load_kit args.first.capitalize
- puts "Dump config"
Caboodle::Kit.dump_config
puts `git commit -m"kit:add #{args}" -a`
when /kit:home/
Caboodle::Site.home_kit = args.first.capitalize
Caboodle::Kit.dump_config
when /kit:list/
Caboodle::Kit.available_kits.each {|kit| puts kit}
when /kit:remove/
Caboodle::Config.unload_kit args.first.capitalize
+ Caboodle::Kit.dump_config
puts `git commit -m"kit:remove #{args}" -a`
when /config:list/
configure
Caboodle::Site.each{|k,v| puts "#{k}: #{v}"}
when /config:set/