Skip to content

runbook

Execute all tasks in dependency order (DAG - Directed Acyclic Graph execution).

Terminal window
./spry.ts runbook [options]
  • --summarize - Emit execution summary in JSON format
  • -s, --select <cql> - Use Cell Query Language (CQL) to select tasks to run
  • --visualize <style> - Visualize the execution DAG
  • --verbose <level> - Set verbosity level (e.g., rich)
Terminal window
# Execute all tasks
./spry.ts runbook
Terminal window
# Execute with visualization
./spry.ts runbook --visualize
# Visualize with specific style
./spry.ts runbook --visualize <style>
Terminal window
# Execute filtered tasks by language
./spry.ts runbook --select "language:sql"
# Execute tasks by graph flag
./spry.ts runbook --select 'flags.graph == "init"'
Terminal window
# Execute with verbose output and summary
./spry.ts runbook --verbose rich --summarize

💡 Tip: The runbook command automatically handles task dependencies and executes them in the correct order based on the dependency graph.


List all tasks that would be executed in runbook mode.

Terminal window
./spry.ts runbook ls [options]
Terminal window
# List all tasks in execution order
./spry.ts runbook ls

This shows you which tasks will be executed and in what order, without actually running them.