forgejo-cli (fj) is a CLI client for Forgejo akin to gh, glab, or tea.
From the command line, you can:
- Open, edit, comment on, close issues
- Create and merge pull requests, including AGit pull requests
- Create, star, watch, and edit repositories
- Manage organizations and teams
- Publish new releases
fj doesn't try to replace your usage of git, it's meant to work alongside
it. It handles all the Forgejo-specific things that git doesn't.
To authenticate with a Forgejo instance, see:
fj auth --help
For instances that support OAuth (such as codeberg.org):
fj -H <instance> auth login
For other instances, generate an application token at
https://<instance>/user/settings/applications, then:
fj -H <instance> auth add-key <user>
devel/forgejo-cli: Make DISTFILE unique to avoid DISTDIR collisions
While here, incorporate some minor cleanups:
- Remove unnecessary CARGO_ENV values
- Move pkg-plist entries to PLIST_FILES
Reviewed by: diizzy
Sponsored by: The FreeBSD Foundation