feat: v0.3.0b — add repo edit command, fix repo create --public flag
- Add `fgj repo edit` for changing visibility, description, homepage, and default branch on existing repositories - Fix `repo create --public` flag which was defined but never read
This commit is contained in:
parent
43e43e7024
commit
7ee5a61910
4 changed files with 146 additions and 3 deletions
10
README.md
10
README.md
|
|
@ -12,7 +12,7 @@
|
|||
- Multi-instance support (works with any Forgejo or Gitea instance)
|
||||
- Pull request management (create, list, view, merge, diff, comment, review)
|
||||
- Issue tracking (create, list, view, comment, close, labels)
|
||||
- Repository operations (view, list, create, clone, fork)
|
||||
- Repository operations (view, list, create, edit, clone, fork)
|
||||
- Forgejo Actions (workflow runs, watch/rerun/cancel, enable/disable, secrets, variables)
|
||||
- Releases (create, upload, delete)
|
||||
- Raw API access (`fgj api`) for arbitrary REST calls
|
||||
|
|
@ -207,6 +207,12 @@ fgj repo clone owner/repo -p ssh
|
|||
|
||||
# Fork a repository
|
||||
fgj repo fork owner/repo
|
||||
|
||||
# Edit repository settings
|
||||
fgj repo edit owner/repo --public
|
||||
fgj repo edit owner/repo --private
|
||||
fgj repo edit owner/repo -d "New description" --homepage https://example.com
|
||||
fgj repo edit --default-branch develop
|
||||
```
|
||||
|
||||
### Releases
|
||||
|
|
@ -460,7 +466,7 @@ Contributions are welcome! Please feel free to submit a Pull Request at [forgejo
|
|||
- `pr checks`, `pr ready/draft`
|
||||
- `issue reopen`, `issue assign`
|
||||
- `release edit`, `release download`, `release generate-notes`
|
||||
- `repo delete`, `repo rename`, `repo visibility`
|
||||
- `repo delete`, `repo rename`
|
||||
|
||||
We welcome contributions to implement any of these features!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue