Skip to content

feat(lathe): add generated CLI self update#63

Merged
samzong merged 2 commits into
mainfrom
feat/generated-cli-update
Jun 25, 2026
Merged

feat(lathe): add generated CLI self update#63
samzong merged 2 commits into
mainfrom
feat/generated-cli-update

Conversation

@samzong

@samzong samzong commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add root --version and -v support for generated Lathe CLIs using the existing build-time version values.
  • Add optional update.github manifest config and a generated root update command backed by GitHub Releases.
  • Reserve update as a root command and document version/update configuration in CLI usage docs.
  • Update generated Skill guidance for CLI version and configured update maintenance commands.

Verification

  • make check

Compatibility

Generated CLIs now expose root --version and -v; the existing hidden __lathe version maintenance command continues to use the same build-time version values. CLIs with update.github configured gain a root update command and generated Skill guidance for safe maintenance usage; flat generated API commands named update remain namespaced because update is now reserved. Catalog schema, auth, request body, and output formatting behavior are unchanged.

Checklist

  • Tests or focused verification cover the changed surface.
  • User-facing behavior changes are documented.
  • Generated output under internal/generated/, .cache/, and ad-hoc skills/<cli-name>/ directories is not committed.
  • Commits are signed off when this is ready to merge.

@samzong samzong force-pushed the feat/generated-cli-update branch from 759cf6b to e0d3e54 Compare June 25, 2026 09:53
samzong added 2 commits June 25, 2026 05:54
Signed-off-by: samzong <samzong.lu@gmail.com>
@samzong samzong force-pushed the feat/generated-cli-update branch from e0d3e54 to ff59620 Compare June 25, 2026 09:57
@samzong samzong merged commit 2fb06c1 into main Jun 25, 2026
3 checks passed
@samzong samzong deleted the feat/generated-cli-update branch June 26, 2026 17:09
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.

1 participant