gritpack setup

Set up this project's Cargo, npm or Go to fetch packages from your hub

Generated from gritpack setup --helpGritpack 1.2.63
gritpack setup [OPTIONS]

Options

--path <PATH>Project directory to configureDefault: .
--adapter <ADAPTER>Project kind to configure when more than one is detectedValues: native, cargo, npm, go, c
--profile <PROFILE>Login profile whose hub to use; defaults to the default profile
--config <CONFIG>Profile configuration fileEnvironment: GRITPACK_CONFIG · Default: ~/.frogfish/gritpack/config.toml
--cargo-registry <NAME>Name of the Cargo registry entry that points at the hubDefault: gritpack
--scope <SCOPE>npm: a scope to fetch from the hub, without the @; repeat as needed. Defaults to the package's own scope, or every package if it has none
--private-prefix <PRIVATE_PREFIX>Go: module path prefix to fetch from the hub; defaults to the go.mod module
--forceCargo and npm: replace existing settings that differ
--no-public-fallbackGo: use only the hub, without proxy.golang.org as a fallback
--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

Examples

$ gritpack setup
$ gritpack setup --profile work