10 11 12 13 14
# File 'lib/castaway/cli/version.rb', line 10 def self.define(command) command.action do |_globals, _options, _args| puts "v#{Castaway::VERSION}" end end
6 7 8
# File 'lib/castaway/cli/version.rb', line 6 def self.description "Report the current version (#{Castaway::VERSION})" end