index command
Manage the package indexes searched by search, info and add (several side by side, none by default).
bash
fobis index <add|remove|list|update|check|build> [options]How to use it, with examples: Packages and indexes.
All options
fobis index add
Add an index at the end of the user configuration's [indexes] (lowest priority).
Arguments: NAME URL
| Option | Value | Default | Description |
|---|---|---|---|
--config | TEXT | User configuration file (default ~/.config/fobis/config.ini). | |
--check, --no-check | Read and validate the index first. |
fobis index build
Write an index from seeds, filling description, license and provides from each source.
Arguments: SEEDS
| Option | Value | Default | Description |
|---|---|---|---|
--output, -o | TEXT | index.toml | Where to write the index. |
--name | TEXT | Name of the index (default: the seeds' name). | |
--from-ecosystem | Seed from the projects of the user's ecosystem registry. | ||
--config | TEXT | User configuration file (default ~/.config/fobis/config.ini). | |
--force | Overwrite an existing output file. |
fobis index check
Validate an index: schema, names, and (with --online) that each source answers.
Arguments: PATH
| Option | Value | Default | Description |
|---|---|---|---|
--online | Also check that every source is a readable source. | ||
--json | Machine-readable output. |
fobis index list
List the configured indexes in priority order, with their cache state.
| Option | Value | Default | Description |
|---|---|---|---|
--config | TEXT | User configuration file (default ~/.config/fobis/config.ini). | |
--fobos, -f | TEXT | fobos | Project fobos whose [indexes] are searched first. |
--json | Machine-readable output. |
fobis index remove
Remove an index from the user configuration (and its cache).
Arguments: NAME
| Option | Value | Default | Description |
|---|---|---|---|
--config | TEXT | User configuration file (default ~/.config/fobis/config.ini). |
fobis index update
Fetch the indexes again (and the indexes they follow).
Arguments: NAME
| Option | Value | Default | Description |
|---|---|---|---|
--config | TEXT | User configuration file (default ~/.config/fobis/config.ini). | |
--fobos, -f | TEXT | fobos | Project fobos whose [indexes] are searched first. |
--depth | INTEGER | 2 | How far 'follows' is walked (0: configured indexes only). |