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> |
||
|---|---|---|
| .. | ||
| auth | ||
| client | ||
| config | ||
| context | ||
| i18n | ||
| output | ||