feat(user): add SSH key shortcuts #73
Loading…
Reference in New Issue
No description provided.
Delete Branch "Mengz/gitlink-cli:mengz/user-key-shortcuts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add account-level SSH public key shortcuts under the existing
usercommand group:user +keyslists current user public keys with pagination.user +add-keycreates a key from inline--keycontent or a public key file via--from.user +delete-keydeletes a key by positive integer ID.Why
This fills an OpenAPI coverage gap for
/public_keysand does not overlap with current open PRs, which cover templates, repo settings/topics, pipeline, release updates, user account/stats, wiki, dataset, code, issue metadata, notifications, reactions, tags, and repo units.Quality
Docs
Updated README examples, Chinese README examples, skills index,
gitlink-userSkill guidance, and addeddoc/changes/user-key-shortcuts.md.Tests
go test ./shortcuts/user/...go test ./shortcuts/...go test ./...go build ./...go run . user +keys --helpgo run . user +add-key --helpgo run . user +delete-key --helpgit diff --check9453f7bd7bto07aa5d2a7807aa5d2a78to37e736c4d8Pull request closed