Module commands

Module commands 

Source
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 filtering
  • next - Find next available task
  • set_status - Update task status
  • waves - Display execution waves
  • stats - Show completion statistics
  • spawn - Parallel task execution
  • swarm - 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
set_status
show
spawn
Spawn command - Launch parallel Claude Code agents in terminal windows
stats
swarmDeprecated
Swarm mode - Wave-based parallel execution with backpressure
tags
view
warmup
waves
whois