From 6f887c70a6af3aae2ae092edb2bc66b0ee7c0529 Mon Sep 17 00:00:00 2001 From: Daniel Rust Date: Wed, 28 May 2025 08:07:59 -0700 Subject: [PATCH 1/2] Added executable with same name as package to support easy uvx use --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 88e051d..7388189 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ CI = "https://github.com/devhub/devhub-cli/actions" [project.scripts] devhub = "devhub.cli:cli" +devhub-cli = "devhub.cli:cli" [project.optional-dependencies] test = ["pytest"] From 4735a08d14cc1d2e706bdb44316f85880d2a9b4d Mon Sep 17 00:00:00 2001 From: Daniel Rust Date: Wed, 28 May 2025 08:13:30 -0700 Subject: [PATCH 2/2] Updated README and version bump --- README.md | 16 ++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2323e0b..73c88e1 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,13 @@ Install this tool using `pip`: ```bash pip install devhub-cli ``` + +Or just install and execute via `uvx` + +``` +uvx devhub-cli +``` + ## Usage For help, run: @@ -24,6 +31,11 @@ You can also use: python -m devhub --help ``` +Via `uvx` +``` +uvx devhub-cli +``` + ## Theme Commands The DevHub CLI provides powerful theme management capabilities for synchronizing and managing your DevHub theme components locally. @@ -127,3 +139,7 @@ To run the tests: ```bash python -m pytest ``` + +## CLI template + +CLI click template based on https://github.com/simonw/click-app diff --git a/pyproject.toml b/pyproject.toml index 7388189..163a2d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "devhub-cli" -version = "0.1" +version = "0.1.1" description = "CLI interface to devhub" readme = "README.md" authors = [{name = "Daniel Rust"}]