Skip to content

CLI Reference

MultiSpec provides a command-line interface for managing specifications.

Global Flags

Flag Short Description
--project -p Project name or path
--verbose -v Enable verbose output
--help -h Show help
--version Show version

Commands

Command Description
init Initialize a new project
lint Validate directory structure
status Show project status
targets List available export targets
eval Evaluate specs using LLM judges
synthesize Generate specs from source docs
reconcile Generate unified execution spec
approve Approve a spec for reconciliation
export Export to target execution system
serve Start MCP server

| graph | Manage requirement graphs (extract, export, query) |

Usage Examples

# Initialize a project
multispec init user-onboarding

# Lint all projects
multispec lint

# Lint specific project
multispec lint user-onboarding

# Check status
multispec status -p user-onboarding

# JSON output
multispec status -p user-onboarding --format json

# Generate HTML report
multispec status -p user-onboarding --format html > status.html

# CI mode (exit non-zero if not ready)
multispec status -p user-onboarding --ci

# List export targets
multispec targets