Module: Elastomer::CLI
- Defined in:
- lib/elastomer/cli.rb,
lib/elastomer/cli/base.rb,
lib/elastomer/cli/node.rb,
lib/elastomer/cli/index.rb,
lib/elastomer/cli/cluster.rb,
lib/elastomer/cli/version.rb,
lib/elastomer/cli/snapshot.rb,
lib/elastomer/cli/repository.rb,
lib/elastomer/cli/application.rb,
lib/elastomer/cli/shard_stats.rb
Defined Under Namespace
Modules: FailureHook Classes: Application, Base, Cluster, Index, Node, Repository, ShardStats, Snapshot
Constant Summary collapse
- VERSION =
"0.3.2"
Class Method Summary collapse
-
.setup_failure_hook ⇒ Object
Force Thor to exit immediately with nonzero status if a command fails.
- .start(*args) ⇒ Object
Class Method Details
.setup_failure_hook ⇒ Object
Force Thor to exit immediately with nonzero status if a command fails. This is probably what you want when running from the command line.
34 35 36 |
# File 'lib/elastomer/cli.rb', line 34 def self.setup_failure_hook Base.extend(FailureHook) end |
.start(*args) ⇒ Object
19 20 21 |
# File 'lib/elastomer/cli.rb', line 19 def self.start(*args) Elastomer::CLI::Application.start(*args) end |