lib/dogids/config.rb in dogids-cli-0.0.22 vs lib/dogids/config.rb in dogids-cli-0.0.23
- old
+ new
@@ -7,9 +7,18 @@
def config(command = nil)
# Commands
case command
when "list"
list
+ when "clear"
+ system("rm ~/.dogids/conf.yaml") if yes?("------->Remove all configurations? [no]")
+ say("All configurations removed","\e[31m")
+ puts " "
+ puts "You should probably copy and paste EACH of the following:"
+ puts " "
+ puts " dogids config:dev dev 55.55.55.30"
+ puts " dogids config:dev lb 55.55.55.20"
+ puts " "
else
puts " "
puts "Config Commands:"
puts " "
puts " Use the following so set environments:"