Class: KBSecret::CLI::Command::Version
- Defined in:
- lib/kbsecret/cli/command/version.rb
Overview
The implementation of kbsecret version
.
Instance Attribute Summary
Attributes inherited from Abstract
Instance Method Summary collapse
-
#initialize(argv) ⇒ Version
constructor
A new instance of Version.
- #run! ⇒ Object
Methods inherited from Abstract
command_name, config, #setup!, #validate!
Constructor Details
#initialize(argv) ⇒ Version
Returns a new instance of Version.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/kbsecret/cli/command/version.rb', line 8 def initialize(argv) super(argv) do |cli| cli.slop do |o| o. = <<~HELP Usage: kbsecret version HELP end end end |