Add standalone cli, comment the plugins

This commit is contained in:
phil 2025-06-19 15:49:55 +02:00
parent 224cbb57ff
commit 7c5fa45495

View file

@ -12,6 +12,9 @@ url = "https://code.philo.ydns.eu/api/packages/philorg/pypi/simple/"
[[tool.uv.index]]
url = "https://code.philo.ydns.eu/api/packages/K-Net/pypi/simple/"
[project.scripts]
knoc-plugin-template = "knoc_plugin_template.cli:app"
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
@ -28,14 +31,15 @@ source = "uv-dynamic-versioning"
[tool.uv-dynamic-versioning]
style = "semver"
## Knonc entry points - uncomment and rename for your needs
[project.entry-points."knoc.settings"]
plugin_template = "knoc_plugin_template.settings:Settings"
#plugin_template = "knoc_plugin_template.settings:Settings"
[project.entry-points."knoc.api"]
plugin_template = "knoc_plugin_template.api:app"
#plugin_template = "knoc_plugin_template.api:app"
[project.entry-points."knoc.cli"]
plugin_template = "knoc_plugin_template.cli:app"
#plugin_template = "knoc_plugin_template.cli:app"
[project.entry-points."knoc.workflow"]
plugin_template = "knoc_plugin_template.workflows:do_nothing_wf"
#plugin_template = "knoc_plugin_template.workflows:do_nothing_wf"