| Crates.io | tracy |
| lib.rs | tracy |
| version | 0.1.1 |
| created_at | 2025-12-10 23:26:59.022686+00 |
| updated_at | 2025-12-12 20:05:43.202616+00 |
| description | A tool for tracking in-code markers for requirement traceability |
| homepage | |
| repository | https://github.com/fordtom/tracy |
| max_upload_size | |
| id | 1978923 |
| size | 64,294 |
Scans codebases for requirement references in doc comments and outputs JSON.
tracy --slug REQ --root ./src
Finds {SLUG}-{NUMBER} formatted references in comments across your codebase, returning JSON objects containing a list of appearances and their locations:
{
"REQ-123": [
{
"file": "src/lib.rs",
"line": 42
}
],
"REQ-456": [
{
"file": "src/lib.rs",
"line": 22
},
{
"file": "src/main.rs",
"line": 10
}
]
}
| Flag | Description |
|---|---|
--slug, -s |
Slug pattern to match (e.g., REQ, LIN) |
--root |
Root directory to scan (default: .) |
--output, -o |
Write output to file |
--quiet, -q |
Suppress stdout output |
--include-vendored |
Include vendored files (per .gitattributes) |
--include-generated |
Include generated files (per .gitattributes) |
--include-submodules |
Include git submodules |
All languages supported by ast-grep, including Rust, TypeScript, JavaScript, Python, Go, Java, C, C++, and more.
MIT