diff options
| author | soryu <soryu@soryu.co> | 2026-01-26 20:19:30 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-26 20:19:30 +0000 |
| commit | 04e1e8f0dd85d19917ac5ba0b73cba65ebac8976 (patch) | |
| tree | e52537dd2a33c10156f1378ffdc6803bc983482d /makima/src/bin/makima.rs | |
| parent | 6328477bc459eca0243b685553dbd75b925fdc8a (diff) | |
| download | soryu-04e1e8f0dd85d19917ac5ba0b73cba65ebac8976.tar.gz soryu-04e1e8f0dd85d19917ac5ba0b73cba65ebac8976.zip | |
Add completion phases
Diffstat (limited to 'makima/src/bin/makima.rs')
| -rw-r--r-- | makima/src/bin/makima.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/makima/src/bin/makima.rs b/makima/src/bin/makima.rs index 96dc252..6ddecab 100644 --- a/makima/src/bin/makima.rs +++ b/makima/src/bin/makima.rs @@ -590,6 +590,21 @@ async fn run_supervisor( "contract": result.0 }))?); } + SupervisorCommand::MarkDeliverable(args) => { + let client = ApiClient::new(args.common.api_url, args.common.api_key)?; + eprintln!( + "Marking deliverable '{}' as complete for contract {}...", + args.deliverable_id, args.common.contract_id + ); + let result = client + .supervisor_mark_deliverable( + args.common.contract_id, + &args.deliverable_id, + args.phase.as_deref(), + ) + .await?; + println!("{}", serde_json::to_string(&result.0)?); + } } Ok(()) |
