Class: Ace::Hitl::CLI::Commands::States

Inherits:
Support::Cli::Command
  • Object
show all
Includes:
LifecycleCommand, Support::Cli::Base
Defined in:
lib/ace/hitl/cli/commands/states.rb

Overview

Host-broker listing of all public lifecycle projections.

Constant Summary

Constants included from LifecycleCommand

LifecycleCommand::STDIN_READER

Instance Method Summary collapse

Methods included from LifecycleCommand

#emit, #lifecycle_store, #overseer, #raise_lifecycle_error

Instance Method Details

#call(**options) ⇒ Object



19
20
21
22
23
# File 'lib/ace/hitl/cli/commands/states.rb', line 19

def call(**options)
  emit(lifecycle_store.states)
rescue Lifecycle::Error => e
  raise_lifecycle_error(e.message)
end