swh.lister.cli: Simplify cli

This commit is contained in:
Antoine R. Dumont (@ardumont) 2018-07-06 17:30:57 +02:00
parent afcd6997c4
commit 3e62bc867e
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
2 changed files with 40 additions and 78 deletions

View file

@ -46,10 +46,11 @@ Local deployment
3. create configuration file ~/.config/swh/lister-github.com.yml
4. Bootstrap the db instance schema
``` sh
$ createdb lister-github.com
$ python3 -m swh.lister.cli --db-url postgres:///lister-github.com github --createdb
```
$ createdb lister-github
$ python3 -m swh.lister.cli --db-url postgres:///lister-github \
--lister github \
--create-tables
Configuration file samples
-------------------------