Expose the CLI as a Python API.
🚀 Features
Section titled “🚀 Features”Expose Python API
Section titled “Expose Python API”The CLI commands are now reusable from Python via the new
tenzir_changelog.Changelog helper and shared helper functions. You can now
drive the same workflows from another script:
from pathlib import Pathfrom tenzir_changelog import Changelog
client = Changelog(root=Path("changelog"))client.add(title="API entry", entry_type="feature", description="Body text")client.show(identifiers=["unreleased"], view="json", include_emoji=False)