MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / output

Method output

crates/agent/src/agent/task_executor/mod.rs:524–529  ·  view source on GitHub ↗

Returns the hook output, if it exists. Note that this includes hooks that have output but are not successful, e.g. command hooks that have a nonzero exit code.

(&self)

Source from the content-addressed store, hash-verified

522 /// Note that this includes hooks that have output but are not successful, e.g. command hooks
523 /// that have a nonzero exit code.
524 pub fn output(&self) -> Option<&str> {
525 match self {
526 HookResult::Command(Ok(CommandResult { output, .. })) => Some(output),
527 _ => None,
528 }
529 }
530}
531
532#[derive(Debug, Clone, Serialize, Deserialize)]

Callers 11

download_feed_jsonFunction · 0.80
install_method.rsFile · 0.80
extract_selectionsFunction · 0.80
select_commandFunction · 0.80
is_git_installedFunction · 0.80
is_in_git_repoFunction · 0.80
run_gitFunction · 0.80
generate_summaryFunction · 0.80
is_process_aliveFunction · 0.80
per_prompt_hooksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected