gitlink-cli/internal
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
..
auth fix: 统一认证凭据 fallback 配置目录 2026-06-06 18:42:50 +08:00
client feat(shortcut): add shortcuts/wiki 2026-06-16 10:24:15 +08:00
config feat(shortcut): add shortcuts/wiki 2026-06-16 10:24:15 +08:00
context test: add comprehensive test coverage across all packages (88.5% → 90.3%) 2026-05-31 15:41:54 +08:00
i18n feat(repo): add repo +edit to update repository settings 2026-07-08 13:38:54 +00:00
output test: add comprehensive test coverage across all packages (88.5% → 90.3%) 2026-05-31 15:41:54 +08:00