Class: CaTissue::CLI::Command
- Inherits:
-
Jinx::CLI::Command
- Object
- Jinx::CLI::Command
- CaTissue::CLI::Command
- Defined in:
- lib/catissue/cli/command.rb
Overview
Augments CaRuby::CLI::Command
with caTissue-specific command line option handlers.
Instance Method Summary collapse
-
#initialize(specs = []) ⇒ Command
constructor
Built-in options include those specified in
CaRuby::CLI::Command.initialize
as well as the following: *--version
: print the version of caRuby Tissue as well as the supported caTissue releases and exit.
Constructor Details
#initialize(specs = []) ⇒ Command
Built-in options include those specified in CaRuby::CLI::Command.initialize
as well as the following:
-
--version
: print the version of caRuby Tissue as well as the supported caTissue releases and exit
17 18 19 20 21 |
# File 'lib/catissue/cli/command.rb', line 17 def initialize(specs=[]) specs << VERSION_OPT specs.concat(CaRuby::Database::ACCESS_OPTS).concat(CaRuby::SQLExecutor::ACCESS_OPTS) super end |