CLI tool for Codeberg and Forgejo (what Codeberg runs on) similar to
gh, glab and tea
- Rust 97.7%
- Nix 2.1%
- Shell 0.2%
I used the treefmt-nix flakeModule. `nix fmt` will now run a configured treefmt by default. I chose to use the unstable nixfmt as it is now the official formatter (or it will be on the next stable release), this should save us from large future reformats. Rustfmt was being annoying so I had to create empty files for the declared but unimplemented modules. I'm not entirely sure why `cargo fmt` ignores this despite using the same rustfmt version. Reviewed-on: #26 Reviewed-by: Ilya Borodinov <[email protected]> Reviewed-by: Aviac <[email protected]> Co-authored-by: Lord-Valen <[email protected]> Co-committed-by: Lord-Valen <[email protected]> |
||
|---|---|---|
| .woodpecker | ||
| docs | ||
| src | ||
| .envrc | ||
| .git-blame-ignore-revs | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| rustfmt.toml | ||
fjo
CLI Tool for Forgejo similar to gh and glab.
Installation
Cargo
The easiest way to install the fjo command is using cargo. (If you haven't installed rust/cargo yet, take a look here)
Build from source
Clone the repo and install fjo with
cargo install --path .
Via crates.io
cargo install fjo
Void Linux
sudo xbps-install fjo
Nix/NixOS
nix-shell -p fjo
or
nix develop git+https://codeberg.org/VoiDD/fjo
or
nix run git+https://codeberg.org/VoiDD/fjo
Development
Please take a look at CONTRIBUTING.md before opening PRs. We can't accept PRs which don't stick to the guidelines.