lib/jack/config/upload.rb in jack-eb-0.2.0 vs lib/jack/config/upload.rb in jack-eb-0.3.0

- old
+ new

@@ -1,9 +1,9 @@ require 'fileutils' module Jack - module Config + class Config < Thor class Upload < Transmit include Util attr_reader :upload_path, :upload_name @@ -19,11 +19,11 @@ exit 0 end compare if confirm upload - update_env + update_env end end def compare Diff.new(@options).run @@ -38,12 +38,12 @@ end def confirm UI.say("Are you sure you want to update the environment with your the new config #{@config_path}?".colorize(:yellow)) UI.say(<<-EOL) -If the difference is not what you expected, you should say no. -A blank newline indicates that there was no difference. -If you want to download the config from the environment and +If the difference is not what you expected, you should say no. +A blank newline indicates that there was no difference. +If you want to download the config from the environment and overwrite your #{@local_config_path} instead, you can use this command: $ jack config download #{@env_name} $ jack config help download # for more info EOL print "yes/no? [no] " unless @options[:mute] || @options[:force]