feat: add --email flag to vers signup, persist email and SSH key path in config#172
Merged
AlephNotation merged 1 commit intomainfrom Apr 5, 2026
Merged
feat: add --email flag to vers signup, persist email and SSH key path in config#172AlephNotation merged 1 commit intomainfrom
vers signup, persist email and SSH key path in config#172AlephNotation merged 1 commit intomainfrom
Conversation
… in config - Add --email flag to override git config user.email during signup - Add email and sshKeyPath fields to .versrc config - FindSSHPublicKey now returns the key path alongside the key contents - Add ReadSSHPublicKey helper for reading a key from a specific path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an
--emailflag tovers signupso users can specify their email directly instead of relying ongit config user.email. Also persists the email and SSH key path in.versrcfor future use.Changes
--emailflag —vers signup --email you@example.comskips the git email lookup.versrcnow storesemailandsshKeyPath(bothomitemptyfor backward compat)FindSSHPublicKey— now returns(key, keyPath, error)so callers can access the resolved pathReadSSHPublicKey— new helper to read a key from a specific pathUsage
Example
.versrcafter signup{ "apiKey": "...", "email": "you@example.com", "sshKeyPath": "/Users/you/.ssh/id_ed25519.pub" }