table of contents
CARGO-LOCATE-PROJECT(1) | CARGO-LOCATE-PROJECT(1) |
NAME¶
cargo-locate-project - Print a JSON representation of a Cargo.toml file's location
SYNOPSIS¶
cargo locate-project [OPTIONS]
DESCRIPTION¶
This command will print a JSON object to stdout with the full path to the Cargo.toml manifest.
See also cargo-metadata(1) which is capable of returning the path to a workspace root.
OPTIONS¶
Display Options¶
-v, --verbose
-q, --quiet
--color WHEN
May also be specified with the term.color config value <https://doc.rust-lang.org/cargo/reference/config.html>.
Manifest Options¶
--manifest-path PATH
Common Options¶
+TOOLCHAIN
-h, --help
-Z FLAG...
ENVIRONMENT¶
See the reference <https://doc.rust-lang.org/cargo/reference/environment-variables.html> for details on environment variables that Cargo reads.
EXIT STATUS¶
0
101
EXAMPLES¶
cargo locate-project
SEE ALSO¶
2019-09-05 |