Class: Ace::Hitl::CLI::Commands::OverseerSend
- Inherits:
-
Support::Cli::Command
- Object
- Support::Cli::Command
- Ace::Hitl::CLI::Commands::OverseerSend
- Includes:
- LifecycleCommand, Support::Cli::Base
- Defined in:
- lib/ace/hitl/cli/commands/overseer_send.rb
Overview
The Root Overseer's bounded, type-tagged response through the reverse address (spec 8wm.t.y21 §6). The response is read from stdin.
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
23 24 25 26 27 28 29 30 |
# File 'lib/ace/hitl/cli/commands/overseer_send.rb', line 23 def call(**) emit(overseer.send_response( reply_to: [:"reply-to"] || "", reader: LifecycleCommand::STDIN_READER )) rescue Lifecycle::Error => e raise_lifecycle_error(e.) end |