not really working yet
This commit is contained in:
parent
930e7f1186
commit
16d6ed9a5f
13
pdm.lock
generated
13
pdm.lock
generated
@ -5,7 +5,7 @@
|
|||||||
groups = ["default", "dev"]
|
groups = ["default", "dev"]
|
||||||
strategy = ["inherit_metadata"]
|
strategy = ["inherit_metadata"]
|
||||||
lock_version = "4.5.0"
|
lock_version = "4.5.0"
|
||||||
content_hash = "sha256:82c9bf589914aff7f949cecce5859dbd6ade8b8ae3dc543171a39458c7e02ff7"
|
content_hash = "sha256:a76925dc191bfa8c9b09ed8edbc159844972310a7494a1440e8f8aed3ea499ed"
|
||||||
|
|
||||||
[[metadata.targets]]
|
[[metadata.targets]]
|
||||||
requires_python = ">=3.12"
|
requires_python = ">=3.12"
|
||||||
@ -640,6 +640,17 @@ files = [
|
|||||||
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
|
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "structlog"
|
||||||
|
version = "24.4.0"
|
||||||
|
requires_python = ">=3.8"
|
||||||
|
summary = "Structured Logging for Python"
|
||||||
|
groups = ["default"]
|
||||||
|
files = [
|
||||||
|
{file = "structlog-24.4.0-py3-none-any.whl", hash = "sha256:597f61e80a91cc0749a9fd2a098ed76715a1c8a01f73e336b746504d1aad7610"},
|
||||||
|
{file = "structlog-24.4.0.tar.gz", hash = "sha256:b27bfecede327a6d2da5fbc96bd859f114ecc398a6389d664f62085ee7ae6fc4"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "textual"
|
name = "textual"
|
||||||
version = "0.74.0"
|
version = "0.74.0"
|
||||||
|
@ -3,7 +3,11 @@ name = "wud"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = ""
|
description = ""
|
||||||
authors = [{ name = "James Turk", email = "dev@jpt.sh" }]
|
authors = [{ name = "James Turk", email = "dev@jpt.sh" }]
|
||||||
dependencies = ["textual>=0.74.0", "typer>=0.12.3"]
|
dependencies = [
|
||||||
|
"textual>=0.74.0",
|
||||||
|
"typer>=0.12.3",
|
||||||
|
"structlog>=24.4.0",
|
||||||
|
]
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { text = "MIT" }
|
license = { text = "MIT" }
|
||||||
@ -13,7 +17,7 @@ requires = ["pdm-backend"]
|
|||||||
build-backend = "pdm.backend"
|
build-backend = "pdm.backend"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
modo = "wud.app:cli"
|
wud = "wud.cli:cli"
|
||||||
|
|
||||||
[tool.pdm]
|
[tool.pdm]
|
||||||
distribution = true
|
distribution = true
|
||||||
|
@ -13,8 +13,8 @@ def hello(name: str) -> None:
|
|||||||
|
|
||||||
def _version_callback(value: bool) -> None:
|
def _version_callback(value: bool) -> None:
|
||||||
if value:
|
if value:
|
||||||
version = importlib.metadata.version("{{ cookiecutter.project_slug }}")
|
version = importlib.metadata.version("wud")
|
||||||
typer.echo(f"{{ cookiecutter.project_slug }} v{version}")
|
typer.echo(f"wud v{version}")
|
||||||
raise typer.Exit()
|
raise typer.Exit()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user