Page MenuHomeSoftware Heritage
Paste P1370

indexer cli says no
ActivePublic

Authored by ardumont on Jun 1 2022, 4:43 PM.
```
swhworker@worker0:~$ dpkg -l python3-swh.indexer | grep ii
ii python3-swh.indexer 1.1.0-1~swh1~bpo10+1 all Software Heritage Content Indexerswhworker@worker0:~$ echo $SWH_CONFIG_FILENAME
/etc/softwareheritage/indexer/journal_client.yml
swhworker@worker0:~$ /usr/bin/swh indexer --config-file $SWH_CONFIG_FILENAME journal-client indexer '*'
Usage: swh indexer journal-client [OPTIONS] [[origin-intrinsic-metadata]]
Try "swh indexer journal-client -h" for help.
Error: Invalid value for "[[origin-intrinsic-metadata]]": invalid choice: indexer. (choose from origin-intrinsic-metadata)
```
```
swhworker@worker0:~$ /usr/bin/swh indexer --config-file $SWH_CONFIG_FILENAME journal-client indexer origin-intrinsic-metadata
Usage: swh indexer journal-client [OPTIONS] [[origin-intrinsic-metadata]]
Try "swh indexer journal-client -h" for help.
Error: Invalid value for "[[origin-intrinsic-metadata]]": invalid choice: indexer. (choose from origin-intrinsic-metadata)
```