From ec31e931bf4aca19e64bc531ef917e5eb503642b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 14 Jan 2023 11:51:46 +0100 Subject: [PATCH] Add version task --- lib/mrsk/cli/main.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/mrsk/cli/main.rb b/lib/mrsk/cli/main.rb index 4a04ed6e..d9dab4d0 100644 --- a/lib/mrsk/cli/main.rb +++ b/lib/mrsk/cli/main.rb @@ -71,6 +71,11 @@ class Mrsk::Cli::Main < Mrsk::Cli::Base invoke "mrsk:cli:registry:logout" end + desc "version", "Display the MRSK version" + def version + puts Mrsk::VERSION + end + desc "app", "Manage the application" subcommand "app", Mrsk::Cli::App