From a583c28dd4bab14ea46e1f751b61b491953c69d8 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Wed, 28 May 2025 08:15:31 +0200 Subject: [PATCH] add the main() from __main__.py as a cli script to pyproject.toml --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8ffa9ff..c146df7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,9 @@ classifiers = [ "Topic :: Text Processing :: Markup", ] +[project.scripts] +obsidian-to-hugo = "obsidian_to_hugo.__main__:main" + [project.urls] "Source" = "https://github.com/devidw/obsidian-to-hugo" "Bug Tracker" = "https://github.com/devidw/obsidian-to-hugo/issues"