diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-03-23 21:37:38 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-03-23 21:37:38 +0100 |
commit | 4425cb797baf29c106922f4d46e9a154f95d3050 (patch) | |
tree | aa1d85bcecee6762d6428d5ab5ab81a8f4947af6 /pyproject.toml | |
parent | 87ac18615f74b81955b07ff526f56f1ed7843646 (diff) | |
download | fietsboek-4425cb797baf29c106922f4d46e9a154f95d3050.tar.gz fietsboek-4425cb797baf29c106922f4d46e9a154f95d3050.tar.bz2 fietsboek-4425cb797baf29c106922f4d46e9a154f95d3050.zip |
rewrite fietsctl to use click
This makes it consistent with the other scripts (fietsupdate,
fietscron), and makes the argument parsing setup a bit nicer to read.
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index 274d11e..e38f8aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,7 @@ pydantic = "^1.10.2" termcolor = "^2.1.1" filelock = "^3.8.2" brotli = "^1.0.9" +click-option-group = "^0.5.5" [tool.poetry.group.docs] optional = true @@ -88,7 +89,7 @@ types-babel = "^2.11.0.7" types-redis = "^4.3.21.6" [tool.poetry.scripts] -fietsctl = "fietsboek.scripts.fietsctl:main" +fietsctl = "fietsboek.scripts.fietsctl:cli" fietscron = "fietsboek.scripts.fietscron:cli" fietsupdate = "fietsboek.updater.cli:cli" |