Skip to content

CLI Overview

The NestWeaver CLI is the primary interface for indexing codebases, querying the knowledge graph, and managing brain vaults. All commands route through a background daemon by default, enabling concurrent access from multiple AI tools without lock contention. The daemon auto-starts on first use and exits after 1 hour of inactivity.

These flags work on every command.

FlagShortDescription
--statsPrint timing and statistics after operations
--quiet-qSuppress non-essential output
--verbose-vShow additional detail (e.g. UIDs)
--no-colorDisable colored output
--plainAlias for --no-color
CodeMeaning
0Success
1The command failed
2Target not found. Also: stale-check found drift, pr-impact --strict blocked, or dead-code refused
3Ambiguous match
4Unauthorized (pull only)
5Unavailable (pull only)
64Usage error (unknown flag, bad value)

--json and --no-embed exist only on commands that declare them. --db is also per command (env: NESTWEAVER_DB, default ./nestweaver.lbug). Human-readable output is the default when stdout is a terminal.

Terminal window
nestweaver --help

List all available commands. For details on any specific command:

Terminal window
nestweaver <command> --help