Summary
There's no repo edit command to update repository settings (description, visibility, etc.) after creation.
Current behavior
$ fj repo --help
Commands:
create, fork, migrate, view, readme, clone, star, unstar, delete, browse, labels
No edit or update subcommand for repos.
Expected behavior
A repo edit command, similar to how issue edit, release edit, and org edit already work:
fj repo edit owner/repo --description "New description"
fj repo edit owner/repo --private false
Context
The edit pattern is well-established in the codebase:
issue edit uses EditIssueOption + api.issue_edit_issue()
release edit uses EditReleaseOption + api.repo_edit_release()
org edit uses EditOrgOption + api.org_edit()
For repos, neither EditRepoOption nor a repo_edit() API method appear to be used. The Forgejo API does support PATCH /api/v1/repos/{owner}/{repo} — the forgejo-api crate may need to expose this type first.
Use case
After creating a repo (especially via CLI), there's no way to set/update the description without going to the web UI.
## Summary
There's no `repo edit` command to update repository settings (description, visibility, etc.) after creation.
## Current behavior
```
$ fj repo --help
Commands:
create, fork, migrate, view, readme, clone, star, unstar, delete, browse, labels
```
No `edit` or `update` subcommand for repos.
## Expected behavior
A `repo edit` command, similar to how `issue edit`, `release edit`, and `org edit` already work:
```
fj repo edit owner/repo --description "New description"
fj repo edit owner/repo --private false
```
## Context
The edit pattern is well-established in the codebase:
- `issue edit` uses `EditIssueOption` + `api.issue_edit_issue()`
- `release edit` uses `EditReleaseOption` + `api.repo_edit_release()`
- `org edit` uses `EditOrgOption` + `api.org_edit()`
For repos, neither `EditRepoOption` nor a `repo_edit()` API method appear to be used. The Forgejo API does support `PATCH /api/v1/repos/{owner}/{repo}` — the forgejo-api crate may need to expose this type first.
## Use case
After creating a repo (especially via CLI), there's no way to set/update the description without going to the web UI.