Class: Gemoji::CLI::Commands::Version

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/gemoji/cli/commands/version.rb

Overview

Version command

Instance Method Summary collapse

Instance Method Details

#call ⇒ Object



10
11
12
# File 'lib/gemoji/cli/commands/version.rb', line 10

def call(*, **)
  puts "#{File.basename($PROGRAM_NAME)} #{Gemoji::CLI::VERSION}"
end