From 3c36fc3d7b43a44193aaf0d51c7904dbfc9ea041 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 26 Jun 2026 05:19:39 +0000 Subject: [PATCH] Add `mcap` command alias and bump version to 1.1.0 Expose a short `mcap` console script pointing at the same entry point as `magicicapsula`, so the two commands are interchangeable. Document the alias in the README and bump the version for the new entry point. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01ARYv6iMTZ7UiZnbUL1LnJC --- README.md | 3 +++ magicicapsula/__init__.py | 2 +- pyproject.toml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 359a90a..c102c9b 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ pip install magicicapsula needs python 3.10+ +the `mcap` command is a shorthand alias for `magicicapsula`; the two are +interchangeable (`mcap seal`, `mcap open capsule.mcap`, ...). + ## how it works the workflow is staged, so you don't have to add everything at once: diff --git a/magicicapsula/__init__.py b/magicicapsula/__init__.py index 976498a..6849410 100644 --- a/magicicapsula/__init__.py +++ b/magicicapsula/__init__.py @@ -1 +1 @@ -__version__ = "1.0.3" +__version__ = "1.1.0" diff --git a/pyproject.toml b/pyproject.toml index 2670129..e651c92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,7 @@ dev = ["ruff>=0.15"] [project.scripts] magicicapsula = "magicicapsula.cli:main" +mcap = "magicicapsula.cli:main" [tool.setuptools.dynamic] version = { attr = "magicicapsula.__version__" }