Show current running version
This commit is contained in:
@@ -165,6 +165,11 @@ class Mrsk::Cli::App < Mrsk::Cli::Base
|
|||||||
on(MRSK.hosts) { execute *MRSK.app.remove_images }
|
on(MRSK.hosts) { execute *MRSK.app.remove_images }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
desc "current_version", "Shows the version currently running"
|
||||||
|
def current_version
|
||||||
|
on(MRSK.hosts) { |host| puts_by_host host, capture_with_info(*MRSK.app.current_running_version).strip }
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
def using_version(new_version)
|
def using_version(new_version)
|
||||||
if new_version
|
if new_version
|
||||||
|
|||||||
Reference in New Issue
Block a user