Compare commits
No commits in common. "65137b99ac85f18c9b8a851936c765a5233477ab" and "fc77407379cc213518469465c77cc5cd3f07685b" have entirely different histories.
65137b99ac
...
fc77407379
3 changed files with 1 additions and 5 deletions
|
@ -51,7 +51,6 @@ Available configuration options:
|
||||||
--uds TEXT Bind to a UNIX domain socket.
|
--uds TEXT Bind to a UNIX domain socket.
|
||||||
--workers INTEGER Number of worker processes. Defaults to the
|
--workers INTEGER Number of worker processes. Defaults to the
|
||||||
$WEB_CONCURRENCY environment variable if available, or 1.
|
$WEB_CONCURRENCY environment variable if available, or 1.
|
||||||
--version Show the version and exit.
|
|
||||||
--help Show this message and exit.
|
--help Show this message and exit.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
from importlib.metadata import version
|
|
||||||
|
|
||||||
import click
|
import click
|
||||||
import uvicorn
|
import uvicorn
|
||||||
|
|
||||||
|
@ -23,6 +21,5 @@ import uvicorn
|
||||||
),
|
),
|
||||||
type=int,
|
type=int,
|
||||||
)
|
)
|
||||||
@click.version_option(version("pssecret_server"))
|
|
||||||
def cli(**kwargs) -> None:
|
def cli(**kwargs) -> None:
|
||||||
uvicorn.run("pssecret_server.main:app", **kwargs)
|
uvicorn.run("pssecret_server.main:app", **kwargs)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pssecret-server"
|
name = "pssecret-server"
|
||||||
version = "1.1.2"
|
version = "1.1.1"
|
||||||
description = "API service for secrets sharing over network"
|
description = "API service for secrets sharing over network"
|
||||||
authors = ["Ivan Golikov <root@ivnglkv.me>"]
|
authors = ["Ivan Golikov <root@ivnglkv.me>"]
|
||||||
license = "BSD-3-Clause"
|
license = "BSD-3-Clause"
|
||||||
|
|
Loading…
Reference in a new issue