From d4ff996e94740a8199231bffe858005af5492069 Mon Sep 17 00:00:00 2001 From: Dowon Date: Wed, 4 Jun 2025 14:28:52 +0900 Subject: [PATCH 1/2] Adds trustme CLI entrypoint Adds a console script entrypoint for trustme, allowing it to be invoked from the command line. This simplifies usage and integration with other tools. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 68c806a..57f4262 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,9 @@ dependencies = [ [project.urls] Homepage = "https://github.com/python-trio/trustme" +[project.scripts] +trustme = "trustme.__main__:main" + [tool.hatch.version] path = "src/trustme/_version.py" From 1a13fda2b1e3b318f21c00eb13928023b7a4103e Mon Sep 17 00:00:00 2001 From: Dowon Date: Wed, 4 Jun 2025 16:09:09 +0900 Subject: [PATCH 2/2] Change entry point __main__ -> _cli --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 57f4262..09a120e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ dependencies = [ Homepage = "https://github.com/python-trio/trustme" [project.scripts] -trustme = "trustme.__main__:main" +trustme = "trustme._cli:main" [tool.hatch.version] path = "src/trustme/_version.py"