class Castaway::CLI::Version
Public Class Methods
define(command)
click to toggle source
# File lib/castaway/cli/version.rb, line 10 def self.define(command) command.action do |_globals, _options, _args| puts "v#{Castaway::VERSION}" end end
description()
click to toggle source
# File lib/castaway/cli/version.rb, line 6 def self.description "Report the current version (#{Castaway::VERSION})" end