MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / handle_automation_command

Function handle_automation_command

src/automation_cli.rs:5–15  ·  view source on GitHub ↗
(
    action: AutomationAction,
)

Source from the content-addressed store, hash-verified

3use crate::{parse_lcm_scope_arg, resolve_cli_project_root};
4
5pub(crate) async fn handle_automation_command(
6 action: AutomationAction,
7) -> tracedecay::errors::Result<()> {
8 match action {
9 AutomationAction::Config { action } => handle_automation_config_command(action).await,
10 AutomationAction::Run { action } => handle_automation_run_command(action).await,
11 AutomationAction::Runs { action } => handle_automation_runs_command(action).await,
12 AutomationAction::Skills { action } => handle_automation_skills_command(action).await,
13 AutomationAction::Facts { action } => handle_automation_facts_command(action).await,
14 }
15}
16
17async fn handle_automation_runs_command(
18 action: AutomationRunsAction,

Callers 1

dispatch_commandFunction · 0.85

Tested by

no test coverage detected