sync_phase

Function sync_phase 

Source
pub fn sync_phase(phase: &Phase, tag: &str) -> Result<PathBuf>
Expand description

Sync a SCUD phase to Claude Code’s Tasks format

Creates or updates ~/.claude/tasks/scud-{tag}.json with tasks from the given phase.

§Arguments

  • phase - The SCUD phase containing tasks to sync
  • tag - The phase tag

§Returns

The path to the created/updated task file

§Example

use scud::sync::claude_tasks;
use scud::models::phase::Phase;

let phase = Phase::new("auth".to_string());
let task_file = claude_tasks::sync_phase(&phase, "auth").unwrap();
// Creates ~/.claude/tasks/scud-auth.json