gritpack doctor
Check this project's Gritpack setup and explain any problems
gritpack doctor [OPTIONS]
Options
--path <PATH> | Directory containing gritpack.toml and gritpack.lock |
--packages-dir <PACKAGES_DIR> | Directory containing the installed packages |
--adapter <ADAPTER> | Project kind to check when more than one is detected |
--profile <PROFILE> | Login profile to check; defaults to the default profile |
--config <CONFIG> | Profile configuration file |
--cargo-registry <NAME> | Name of the Cargo registry entry that points at the hub |
--fix | Run gritpack setup for the project first, then check |
--format <FORMAT> | Output format: human or json |
--json[=<FIELDS>] | Same as --format json; --json=name,version keeps only those fields |
--jq <EXPRESSION> | Print the JSON output through a jq expression, strings unquoted |
-h, --help | Print help |
Examples
$ gritpack doctor
$ gritpack doctor --fix