Tag text
tag_text
Text renderers for GitTagTool dual-format ToolResult.
Transform the structured data dict produced by
:class:axm_git.tools.tag.GitTagTool into a compact text representation::
Text Only
git_tag | ✓ | {tag} · {bump} [· breaking] · {n} commits · pushed
resolved {resolved_version} · CI {ci_check} · prev {current_tag}
git_tag | ✗ | {error}
render_failure_text(*, error, data)
Render the failure-path text representation.
Surfaces dirty_files (uncommitted changes), current_tag
(no commits since last tag), ci_check (CI red), or suggestions
(not-a-repo) when present in data.
Source code in packages/axm-git/src/axm_git/tools/tag_text.py
render_text(data)
Render the success-path data dict.
Header carries tag, bump type, breaking flag, commit count and push status; a second line carries the hatch-vcs resolved version (when available), the CI status and the previous tag.