swh.lister.cli: Add a basic cli to deal with create/drop db actions

This commit is contained in:
Antoine R. Dumont (@ardumont) 2018-06-27 15:18:32 +02:00
parent 0f9ba7bd9b
commit afcd6997c4
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
2 changed files with 99 additions and 1 deletions

View file

@ -48,7 +48,7 @@ Local deployment
``` sh
$ createdb lister-github.com
$ bin/ghlister --db-url postgres:///lister-github.com createdb
$ python3 -m swh.lister.cli --db-url postgres:///lister-github.com github --createdb
```
Configuration file samples