CLI tool for Codeberg and Forgejo (what Codeberg runs on) similar to gh, glab and tea
This repository has been archived on 2026-01-11. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Rust 97.7%
  • Nix 2.1%
  • Shell 0.2%
Find a file
Lord-Valen a6f7596deb
All checks were successful
ci/woodpecker/push/check_fmt Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
feat(nix): add treefmt (#26)
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]>
2024-04-04 06:37:36 +00:00
.woodpecker chore: remove cocogitto configuration 2024-01-12 16:32:50 +01:00
docs chore(cleanup): README and project cleanups (#21) 2024-02-09 07:34:44 +00:00
src feat(nix): add treefmt (#26) 2024-04-04 06:37:36 +00:00
.envrc feat: repo create rewrite, repo list, repo delete (#2) 2024-01-12 13:01:00 +00:00
.git-blame-ignore-revs feat(nix): add treefmt (#26) 2024-04-04 06:37:36 +00:00
.gitignore feat(nix): add treefmt (#26) 2024-04-04 06:37:36 +00:00
Cargo.lock chore(cleanup): README and project cleanups (#21) 2024-02-09 07:34:44 +00:00
Cargo.toml chore(cleanup): README and project cleanups (#21) 2024-02-09 07:34:44 +00:00
CHANGELOG.md feat(nix): add treefmt (#26) 2024-04-04 06:37:36 +00:00
CONTRIBUTING.md docs(contrib): update contribution guide 2024-01-13 11:17:37 +01:00
flake.lock feat(nix): add treefmt (#26) 2024-04-04 06:37:36 +00:00
flake.nix feat(nix): add treefmt (#26) 2024-04-04 06:37:36 +00:00
LICENSE chore!: rename everything to fjo 2024-01-21 16:13:19 +01:00
README.md feat(nix): add treefmt (#26) 2024-04-04 06:37:36 +00:00
rustfmt.toml feat: "user features" rewritten for forgejo-sdk (#6) 2024-02-06 14:42:13 +00:00

fjo logo

fjo

License: AGPL v3 crates.io Please don't upload to GitHub

CLI Tool for Forgejo similar to gh and glab.

showcase of repo info command

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.