CLI Reference
woof sniff
Purpose
Analyzes the dependency graph to trace paths leading to a specific package.
Synopsis
Synopsiswoof sniff [PACKAGE]
$ woof sniff [PACKAGE]Flags
| Flag | Type | Description |
|---|---|---|
| [PACKAGE] | argument | Maps out how a specific dependency was included in your project by walking the lockfile graph. |
| -h, --help | boolean | Print help |
Exit Codes
- 0Trace completed and paths found.
- 1Package not found in the dependency graph.
Examples
woof sniff package-name
$ woof sniff package-name[email protected]└── [email protected]
Shows the transitive inclusion path of a specific package.
woof sniff unknown-pkg
$ woof sniff unknown-pkgPackage 'unknown-pkg' not found in tree.
Handles non-existent queries gracefully.
How is this guide?
Last updated on 09/11/2026