Expand description
CLI command implementations.
This module contains the implementation of all SCUD CLI commands including task listing, status updates, AI-powered parsing, and more. Each submodule corresponds to a CLI subcommand.
Key submodules:
ai- AI-powered commands (parse PRD, expand tasks, analyze complexity)generate- Multi-phase task generation pipeline (parse → expand → check-deps)list- List tasks with filteringnext- Find next available taskset_status- Update task statuswaves- Display execution wavesstats- Show completion statisticsspawn- Parallel task executionswarm- Wave-based parallel execution with backpressure
§Generate Pipeline
The commands::generate module provides a complete pipeline for task generation:
use scud::commands::generate::{generate, GenerateOptions};
use std::path::PathBuf;
let options = GenerateOptions::new(
PathBuf::from("prd.md"),
"feature".to_string(),
);
generate(options).await?;Modules§
- ai
- assign
- check_
deps - clean
- commit
- config
- convert
- Convert between task storage formats
- doctor
- generate
- Generate command - combines parse, expand, and check-deps into a single pipeline.
- helpers
- init
- install
- list
- log
- mermaid
- migrate
- next
- next_
batch - run
- Run command - Launch a single AI agent with an arbitrary prompt
- set_
status - show
- spawn
- Spawn command - Launch parallel Claude Code agents in tmux sessions
- stats
- swarm
- Swarm mode - Wave-based parallel execution with backpressure
- tags
- test
- Test command - Run tests and spawn repair agents until they pass
- view
- warmup
- waves
- whois