class KBSecret::CLI::Command::Version
The implementation of `kbsecret version`.
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
KBSecret::CLI::Command::Abstract::new
# File lib/kbsecret/cli/command/version.rb, line 8 def initialize(argv) super(argv) do |cli| cli.slop do |o| o.banner = <<~HELP Usage: kbsecret version HELP end end end
Public Instance Methods
run!()
click to toggle source
# File lib/kbsecret/cli/command/version.rb, line 20 def run! puts "kbsecret version #{KBSecret::VERSION}." end