lib/hanami/cli/commands/gem/version.rb in hanami-cli-2.0.0.rc1 vs lib/hanami/cli/commands/gem/version.rb in hanami-cli-2.0.0

- old
+ new

@@ -1,15 +1,17 @@ # frozen_string_literal: true -require "hanami/cli/command" - module Hanami module CLI module Commands module Gem + # @since 2.0.0 + # @api private class Version < Command desc "Hanami version" + # @since 2.0.0 + # @api private def call(*) version = detect_version out.puts "v#{version}" end