lib/shelly/cli/main.rb in shelly-0.1.12 vs lib/shelly/cli/main.rb in shelly-0.1.13
- old
+ new
@@ -110,10 +110,10 @@
rescue Client::ValidationException => e
e.each_error { |error| say_error error, :with_exit => false }
say_new_line
say_error "Fix erros in the below command and type it again to create your cloud" , :with_exit => false
- say_error "shelly add --code-name=#{app.code_name} --databases=#{app.databases.join(',')} --size=#{app.size}"
+ say_error "shelly add --code-name=#{app.code_name.downcase.tr('_','-')} --databases=#{app.databases.join(',')} --size=#{app.size}"
end
map "status" => :list
desc "list", "List available clouds"
def list