gritpack cargo

Set up and check Cargo for the hub's Cargo registry

Generated from gritpack cargo --helpGritpack 1.2.63
gritpack cargo [OPTIONS] <COMMAND>

Commands

setup
Add the hub to Cargo as a named registry, or update it
doctor
Check Cargo, your login, its token, TLS and the registry settings

Options

-h, --helpPrint help

gritpack cargo setup

Add the hub to Cargo as a named registry, or update it

gritpack cargo setup [OPTIONS] --registry <REGISTRY> --profile <PROFILE>

Options

--registry <REGISTRY>Cargo registry name used in Cargo.toml dependency declarations
--profile <PROFILE>Login profile whose credentials Cargo uses
--config <CONFIG>Profile configuration fileEnvironment: GRITPACK_CONFIG · Default: ~/.frogfish/gritpack/config.toml
--cargo-config <CARGO_CONFIG>Cargo configuration file to updateDefault: ~/.cargo/config.toml
--index <INDEX>The hub's Cargo index URL; by default the profile's hub on port 7446
--forceReplace an existing registry setting that differs
--format <FORMAT>Output format: human or jsonDefault: human · Values: human, 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, --helpPrint help

gritpack cargo doctor

Check Cargo, your login, its token, TLS and the registry settings

gritpack cargo doctor [OPTIONS] --registry <REGISTRY>

Options

--registry <REGISTRY>Cargo registry name to inspect
--cargo-config <CARGO_CONFIG>Cargo configuration file to inspectDefault: ~/.cargo/config.toml
--format <FORMAT>Output format: human or jsonDefault: human · Values: human, 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, --helpPrint help