From 7c5fa454953a9509a3fef752bd4ad0af8472ba30 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 19 Jun 2025 15:49:55 +0200 Subject: [PATCH] Add standalone cli, comment the plugins --- pyproject.toml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 79b1be5..85c1188 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"