Add standalone cli, comment the plugins
This commit is contained in:
parent
224cbb57ff
commit
7c5fa45495
1 changed files with 8 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue