mirror of
https://git.crueter.xyz/scripts/fj.git
synced 2026-06-05 15:56:19 -03:00
General-purpose Forgejo CLI scripts
- Shell 99.2%
- Makefile 0.8%
|
|
||
|---|---|---|
| .ci | ||
| .forgejo/workflows | ||
| fjcli | ||
| tests | ||
| .gitignore | ||
| .shellcheckrc | ||
| fj.sh | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
Forgejo CLI
WIP POSIX Shell script CLI for Forgejo. Notable features:
- Automatic repo/instance detection via configs
- Fork detection
- PR merging and creating
- Release upload, creation, deletion
- Actions management (WIP)
This is very WIP and has many missing features and broken things. Notably, OAuth support is missing (and is unlikely to be added), and tons of useful operations such as issue management, release/PR editing, PR closing, and more are missing. Stay tuned, or submit patches!
Installation
sudo make install
You may specify:
DESTDIR: the root to install to (e.g.make install DESTDIR=${pkgdir})prefix: the prefix; default is/usr/local(e.g.make install DESTDIR=${pkgdir} prefix=/usr)BIN: what to install fj.sh as (e.g.make install BIN=forgejo)SCRIPTS: what to install the scripts directory as (e.g.make install BIN=fjcli SCRIPTS=fj)
Note that BIN and SCRIPTS must be different.
TODO
- Rewrite in C++, and provide musl/windows binaries