gitlink-cli/shortcuts
1os21ka23r9navae6mrro 1eb3b7c485 feat(repo): add repo +edit to update repository settings
Adds a repo +edit shortcut that updates repository metadata via
PATCH /:owner/:repo.json: --description, --website, --private,
--default-branch, --category-id, --language-id.

The server dispatches on which key is present (website, default_branch,
or general metadata) and the metadata path validates name/identifier,
so the command resolves them from the repository detail first and sends
each field group as its own request. Requires at least one field and
validates --private and integer IDs before any API call.

Production-verified against gitlink.org.cn (description/website update
and default-branch round-trip). Includes 6 unit tests and bilingual
README examples plus en-US/zh-CN i18n keys.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-08 13:38:54 +00:00
..
branch feat(i18n): add CLI localization foundation 2026-06-01 17:33:10 +08:00
ci feat(i18n): add CLI localization foundation 2026-06-01 17:33:10 +08:00
common feat(i18n): add CLI localization foundation 2026-06-01 17:33:10 +08:00
compare feat: add milestone, compare, pr reopen shortcuts and api enhancements (#45) 2026-05-27 00:44:39 +08:00
dataset feat(dataset): add full dataset CRUD (view/create/update/delete-attachment) 2026-06-14 14:01:57 +08:00
health fix(health): use effective list filters 2026-06-05 14:56:02 +08:00
ignore feat(shortcut): add shortcuts/ignore 2026-06-09 08:50:39 +08:00
issue feat(issue): add batch maintenance shortcuts 2026-06-15 08:21:10 +08:00
label feat(label): add issue label shortcuts 2026-05-30 06:38:39 -07:00
license feat(shortcut): add shortcuts/license 2026-06-05 16:46:37 +08:00
member feat(member): add repository member shortcuts (#46) 2026-05-27 00:24:15 +08:00
milestone feat: add milestone, compare, pr reopen shortcuts and api enhancements (#45) 2026-05-27 00:44:39 +08:00
org feat(i18n): add CLI localization foundation 2026-06-01 17:33:10 +08:00
pipeline feat(pipeline): add OpenAPI shortcuts 2026-05-27 22:20:18 +08:00
pr fix: 修正 Issue 和 PR 列表筛选 2026-06-05 11:43:30 +08:00
profile feat(profile): 新增用户画像统计快捷命令 2026-06-13 23:07:27 +08:00
release feat(release): add edit and update shortcuts 2026-06-08 08:30:21 +08:00
repo feat(repo): add repo +edit to update repository settings 2026-07-08 13:38:54 +00:00
search feat(i18n): add CLI localization foundation 2026-06-01 17:33:10 +08:00
user feat(i18n): add CLI localization foundation 2026-06-01 17:33:10 +08:00
webhook feat(i18n): add CLI localization foundation 2026-06-01 17:33:10 +08:00
wiki feat(wiki): auto-resolve --project-id from repository detail when omitted 2026-07-08 12:27:26 +00:00
workflow chore: fix CI workflow, golangci-lint config, and minor lint/format issues 2026-05-31 22:45:17 +08:00
register.go feat(shortcut): add shortcuts/wiki 2026-06-16 10:24:15 +08:00
register_test.go feat(shortcut): add shortcuts/wiki 2026-06-16 10:24:15 +08:00