Sarah Hoffmann
|
7222235579
|
introduce custom object for cmdline arguments
Allows to define special functions over the arguments.
Also splits CLI tests in two files as they have become too many.
|
2021-02-25 18:42:54 +01:00 |
|
Sarah Hoffmann
|
e520613362
|
convert connect() into a context manager
|
2021-02-25 18:42:54 +01:00 |
|
Sarah Hoffmann
|
7cc4c53adb
|
always return 0 for updates unless there is an error
This is more in line with previous behavioru than returning
a status code when no updates are available.
|
2021-02-11 10:33:49 +01:00 |
|
Sarah Hoffmann
|
b9517c99ae
|
rename sql directory to lib-sql
Also introduces a separate constant for the sql directory, so that
it can be put separately from the rest of the data if required.
|
2021-02-09 15:26:56 +01:00 |
|
Sarah Hoffmann
|
195f9f5ef3
|
split cli.py by subcommands
Reduces file size below 1000 lines.
|
2021-02-08 17:23:05 +01:00 |
|