Skip to content

Added login and logout over the GitHub and GitLab device flows - #4

Merged
siliconwitch merged 1 commit into
mainfrom
dev
Aug 10, 2026
Merged

Added login and logout over the GitHub and GitLab device flows#4
siliconwitch merged 1 commit into
mainfrom
dev

Conversation

@siliconwitch

Copy link
Copy Markdown
Member

login runs the device flow against the chosen provider and stores the minted key under the XDG state directory, out of published dotfiles. logout revokes on the server before forgetting locally, so a failed revocation can be retried. Every server-touching command first checks the server is reachable and reports one consistent message, and the hidden --server flag aims a run at another server during development.

The layout now mirrors the server: main.go at the root, commands in internal/commands. The retired webhook commands left the table, the version is 0.0.2, and the coding principles gained exact scope, no assumptive defaults, user-facing words, and no personal data in code.

login <provider> runs the device flow against the chosen provider and
stores the minted key under the XDG state directory, out of published
dotfiles. logout revokes on the server before forgetting locally, so a
failed revocation can be retried. Every server-touching command first
checks the server is reachable and reports one consistent message, and the
hidden --server <url> flag aims a run at another server during development.

The layout now mirrors the server: main.go at the root, commands in
internal/commands. The retired webhook commands left the table, the version
is 0.0.2, and the coding principles gained exact scope, no assumptive
defaults, user-facing words, and no personal data in code.
@siliconwitch
siliconwitch merged commit c0a2775 into main Aug 10, 2026
1 check passed
@siliconwitch
siliconwitch deleted the dev branch August 10, 2026 10:43
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