Skip to content

Commit 60a30e6

Browse files
Anil-matchaclaude
andcommitted
fix: 0.2.5 — correct muapi name in help output
- cli_entry.py: set sys.argv[0] = "muapi" before app() so Usage: shows "muapi" instead of the binary filename (muapi-darwin-arm64 etc.) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5287758 commit 60a30e6

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

cli_entry.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""PyInstaller entry point — no relative imports."""
2+
import sys
23
from muapi.main import app
34

45
if __name__ == "__main__":
6+
# Ensure the program name shown in help/usage is always "muapi"
7+
# regardless of the actual binary filename (e.g. muapi-darwin-arm64)
8+
sys.argv[0] = "muapi"
59
app()

npm/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "muapi-cli",
3-
"version": "0.2.4",
4-
"description": "Official CLI for muapi.ai generate images, videos, and audio from your terminal",
3+
"version": "0.2.5",
4+
"description": "Official CLI for muapi.ai \u2014 generate images, videos, and audio from your terminal",
55
"keywords": [
66
"muapi",
77
"ai",
@@ -31,4 +31,4 @@
3131
"engines": {
3232
"node": ">=16"
3333
}
34-
}
34+
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "muapi-cli"
7-
version = "0.2.4"
7+
version = "0.2.5"
88
description = "Official CLI for muapi.ai — generative media at your fingertips"
99
readme = "README.md"
1010
requires-python = ">=3.9"

0 commit comments

Comments
 (0)