@sensegrep/cli
v1.6.12
Published
Command-line semantic code search for AI coding workflows — find the right code by meaning using semantic, exact, and AST-aware retrieval.
Maintainers
Readme
@sensegrep/cli
Command-line interface for sensegrep semantic + structural code search.
Install
npm install -g @sensegrep/cliQuickstart
sensegrep index --root .
sensegrep status --root . # fast metadata-only stats
sensegrep status --root . --verify # freshness check
sensegrep search "error handling and retry logic"
sensegrep search emit --exact --no-shake --include "src/**/*.ts"
sensegrep survey "authentication login token" --limit 4
sensegrep cluster "checkout payment order cart" --limit 4
sensegrep detect-duplicates --cross-file-only
sensegrep semantic-kinds --json--json writes parseable JSON to stdout; progress and warnings are written to stderr.
Use --log-format none when a JSON command must suppress human progress logs entirely.
If an --include/--exclude scope matches no indexed files, JSON output includes a
structured warning instead of failing silently.
Documentation
- CLI reference: https://github.com/Stahldavid/sensegrep/blob/main/docs/cli-reference.md
- Getting started: https://github.com/Stahldavid/sensegrep/blob/main/docs/getting-started.md
- Issues: https://github.com/Stahldavid/sensegrep/issues
