Skip to content

Include Showboat version in the date line produced by init#10

Merged
simonw merged 1 commit intomainfrom
claude/add-version-to-dateline-q9GZp
Feb 10, 2026
Merged

Include Showboat version in the date line produced by init#10
simonw merged 1 commit intomainfrom
claude/add-version-to-dateline-q9GZp

Conversation

@simonw
Copy link
Owner

@simonw simonw commented Feb 10, 2026

The date line now renders as *timestamp by Showboat version* so
readers can see which version of the tool created the document. The
version string flows from main.go (set via ldflags at build time)
through cmd.Init() into the TitleBlock. The parser round-trips the
new format and still handles old date lines without a version.

https://claude.ai/code/session_0156E2fZMAopaVKxEocPZ8et

The date line now renders as `*timestamp by Showboat version*` so
readers can see which version of the tool created the document.  The
version string flows from main.go (set via ldflags at build time)
through cmd.Init() into the TitleBlock.  The parser round-trips the
new format and still handles old date lines without a version.

https://claude.ai/code/session_0156E2fZMAopaVKxEocPZ8et
@simonw simonw merged commit 18defc3 into main Feb 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants