gritpack search [OPTIONS] [QUERY]
Arguments
[QUERY] | Words to find in package names, scopes, descriptions and keywords |
Options
--ecosystem <ECOSYSTEM> | Only search one package ecosystemnative: Gritpack-native packagescargo: Cargo crates published to this hub's Cargo registry
|
--version <VERSION> | Version or version requirement |
--dialect <DIALECT> | Only packages of this language and version, such as c/c23 |
--encoding <ENCODING> | Only packages with this source text encoding |
--target <TARGET> | Only packages for this target platform |
--owner <OWNER> | Only packages owned by this account UUID |
--limit <LIMIT> | Maximum number of resultsDefault: 25 |
--cursor <CURSOR> | Cursor printed with the previous page of results, to get the next page |
--format <FORMAT> | Output format: human, json or ndjsonDefault: human · Values: human, json, ndjson |
--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 (see a summary with '-h') |
Hub connection
--hub <HUB> | The hub, as host[:port] or https://host[:port]Environment: GRITPACK_SERVER |
--cert <CERT> | Client certificate for the hubEnvironment: GRITPACK_CERT |
--key <KEY> | Private key for the client certificateEnvironment: GRITPACK_KEY |
--ca <CA> | Certificate authority used to authenticate the hubEnvironment: GRITPACK_CA |
--profile <PROFILE> | Login profile to use; cannot be combined with --hub, --cert, --key or --caEnvironment: GRITPACK_PROFILE |
--config <CONFIG> | Profile configuration fileEnvironment: GRITPACK_CONFIG · Default: ~/.frogfish/gritpack/config.toml |
--credentials-dir <CREDENTIALS_DIR> | With --hub alone: directory searched for your login; exactly one may be unexpiredEnvironment: GRITPACK_CREDENTIALS_DIR · Default: ~/.frogfish/gritpack/credentials |
--cache-dir <CACHE_DIR> | Directory of the shared cache of downloaded package filesEnvironment: GRITPACK_CACHE_DIR · Default: ~/.frogfish/gritpack/cache |
--jobs <JOBS> | How many package downloads to run at once (1-64)Environment: GRITPACK_JOBS · Default: 4 |
Use one hub only
--from <HUB> | Use only this hub, instead of the hubs your logins configure |
--from-cert <FROM_CERT> | Client certificate for the --from hub |
--from-key <FROM_KEY> | Private key for the --from client certificate |
--from-ca <FROM_CA> | Certificate authority used to authenticate the --from hub |
Examples
$ gritpack search parser
$ gritpack search parser --hub get.gritpack.org
$ gritpack search --owner <account> --format json