Only say if you're going to do it

This commit is contained in:
David Heinemeier Hansson
2023-02-03 15:16:30 +01:00
parent 37e216f2b7
commit 3d71ecdf80

View File

@@ -8,7 +8,7 @@ class Mrsk::Cli::App < Mrsk::Cli::Base
say "Ensure no other version of the app is running...", :magenta
stop
say "Get most recent version available as an image...", :magenta
say "Get most recent version available as an image...", :magenta unless options[:version]
using_version(options[:version] || most_recent_version_available) do |version|
say "Start container with version #{version} (or reboot if already running)...", :magenta