lib/shelly/cli/main.rb in shelly-0.4.4 vs lib/shelly/cli/main.rb in shelly-0.4.5

- old
+ new

@@ -176,23 +176,23 @@ app = multiple_clouds(options[:cloud], "setup") say "Setting up #{app} cloud", :green say_new_line app.git_url = app.attributes["git_info"]["repository_url"] if overwrite_default_remote?(app) - say "git remote add shelly #{app.git_url}" + say "Running: git remote add shelly #{app.git_url}" app.add_git_remote - say "git fetch shelly" + say "Running: git fetch shelly" app.git_fetch_remote else loop do remote = ask('Specify remote name:') if app.git_remote_exist?(remote) say("Remote '#{remote}' already exists") else - say "git remote add #{remote} #{app.git_url}" + say "Running: git remote add #{remote} #{app.git_url}" app.add_git_remote(remote) - say "git fetch #{remote}" + say "Running: git fetch #{remote}" app.git_fetch_remote(remote) break end end end @@ -384,18 +384,18 @@ !git_remote or (git_remote and yes?("Git remote shelly exists, overwrite (yes/no): ")) end def add_remote(app) remote = if overwrite_default_remote?(app) - say "Adding remote shelly #{app.git_url}", :green + say "Running: git remote add shelly #{app.git_url}", :green "shelly" else loop do remote = ask('Specify remote name:') if app.git_remote_exist?(remote) say("Remote '#{remote}' already exists") else - say "Adding remote #{remote} #{app.git_url}", :green + say "Running: git remote add #{remote} #{app.git_url}", :green break remote end end end