Skip to content

Commit 0978f0d

Browse files
arizawanclaude
andcommitted
feat: add --version flag; bump to 0.2.15
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a8cd7ee commit 0978f0d

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

pyproject.toml

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

55
[project]
66
name = "vidlizer"
7-
version = "0.2.14"
7+
version = "0.2.15"
88
description = "Analyze any video, image, or PDF with a vision LLM — get structured JSON per scene. Local (Ollama/LM Studio) or cloud (OpenRouter). CLI + MCP server."
99
readme = "README.md"
1010
license = { text = "MIT" }

vidlizer/cli.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,12 @@ def _main() -> int:
955955
956956
Any omitted options will be asked interactively when running in a terminal.""",
957957
)
958+
try:
959+
import importlib.metadata as _meta
960+
_ver = _meta.version("vidlizer")
961+
except Exception:
962+
_ver = "unknown"
963+
p.add_argument("--version", action="version", version=f"vidlizer {_ver}")
958964
p.add_argument("video", nargs="?", type=str, help="Path to file or URL (YouTube, Loom, Vimeo, Twitter)")
959965
p.add_argument("-o", "--output", type=Path,
960966
help="Output path (default: <name>.analysis.json/.md/.txt)")

0 commit comments

Comments
 (0)