Class: CaTissue::CLI::Command

Inherits:
Jinx::CLI::Command
  • Object
show all
Defined in:
lib/catissue/cli/command.rb

Overview

Augments CaRuby::CLI::Command with caTissue-specific command line option handlers.

Direct Known Subclasses

Example, Migrate, Smoke

Instance Method Summary collapse

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