19 lines
359 B
Ruby
Raw Normal View History

module Hbc
class CLI
class Version < Base
def self.command_name
"--#{super}"
end
def self.run(*args)
raise ArgumentError, "#{command_name} does not take arguments." unless args.empty?
puts Hbc.full_version
end
def self.help
"displays the Homebrew-Cask version"
end
end
end
end