Compare commits

...

2 commits

Author SHA1 Message Date
65137b99ac Version bump 2025-01-08 23:51:43 +01:00
7f36eafc11 Added --version option 2025-01-08 23:50:59 +01:00
3 changed files with 5 additions and 1 deletions

View file

@ -51,6 +51,7 @@ Available configuration options:
--uds TEXT Bind to a UNIX domain socket.
--workers INTEGER Number of worker processes. Defaults to the
$WEB_CONCURRENCY environment variable if available, or 1.
--version Show the version and exit.
--help Show this message and exit.
```

View file

@ -1,3 +1,5 @@
from importlib.metadata import version
import click
import uvicorn
@ -21,5 +23,6 @@ import uvicorn
),
type=int,
)
@click.version_option(version("pssecret_server"))
def cli(**kwargs) -> None:
uvicorn.run("pssecret_server.main:app", **kwargs)

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "pssecret-server"
version = "1.1.1"
version = "1.1.2"
description = "API service for secrets sharing over network"
authors = ["Ivan Golikov <root@ivnglkv.me>"]
license = "BSD-3-Clause"