1
0
Fork
You've already forked codeberg-cli
0
forked from Aviac/codeberg-cli
CLI Tool for Codeberg similar to gh and glab
  • Rust 94.9%
  • Nix 5.1%
Maytha8 0713db7ab0 README.md: mention tea CLI under similar projects
Signed-off-by: Maytha8 <maytha8thedev@gmail.com>
2024年04月30日 13:51:15 +00:00
.woodpecker ci: basic CI via woodpecker 2024年04月20日 20:12:18 +02:00
assets chore(README): fix broken gifs #4 2023年03月13日 06:28:15 +01:00
nix chore: fix/update nix shell 2024年04月30日 08:11:41 +02:00
src chore: make clippy happy 2024年04月30日 08:11:47 +02:00
tests feat: forgejo-api ( #118 ) 2024年04月29日 18:49:38 +00:00
.envrc ci: update nix stuff 2024年04月20日 07:58:45 +02:00
.gitignore feat: forgejo-api ( #118 ) 2024年04月29日 18:49:38 +00:00
Cargo.lock feat: forgejo-api ( #118 ) 2024年04月29日 18:49:38 +00:00
Cargo.toml feat: forgejo-api ( #118 ) 2024年04月29日 18:49:38 +00:00
CHANGELOG.md feat: forgejo-api ( #118 ) 2024年04月29日 18:49:38 +00:00
cog.toml Build: Increase cocogitto utilization for release purposes ( #87 ) 2023年05月22日 19:11:52 +00:00
CONTRIBUTING.md docs: Establish conventional commit format ( #67 ) 2023年02月25日 18:25:03 +00:00
flake.lock feat: forgejo-api ( #118 ) 2024年04月29日 18:49:38 +00:00
flake.nix feat: forgejo-api ( #118 ) 2024年04月29日 18:49:38 +00:00
LICENSE chore(license): update license 2023年02月24日 22:15:48 +01:00
README.md README.md: mention tea CLI under similar projects 2024年04月30日 13:51:15 +00:00
rust-toolchain.toml feat: forgejo-api ( #118 ) 2024年04月29日 18:49:38 +00:00

License: AGPL v3 crates.io

`fjo` Updates
### 2024年04月20日
`codeberg-cli` is un-deprecated since `fjo` development came to a halt before reaching feature pairity and I think we're better off including the findings here.
### End of 2023
We are thrilled to share a pivotal update on our software project. Thanks to recent developments, our project is now compatible with all Forgejo instances, not limited to Codeberg. As part of this expansion, the primary development focus will shift to our forked repository, [fjo](https://codeberg.org/VoiDD/fjo) in the future.
Rest assured, `codeberg-cli` will remain active. Our plan is to seamlessly incorporate new changes from the forked project here. We'll continue to make small adjustments to ensure smooth use, particularly for Codeberg, such as optimizing default values and Codeberg-specific features.
We appreciate your ongoing support and anticipate delivering even more enhancements soon.

codeberg-cli logo

codeberg-cli (berg)

CLI Tool for Codeberg similar to gh and glab.

Shell running the issue view command Shell running the issue view command

Installation

Cargo

The easiest way to install the berg command is using cargo. (If you haven't installed rust/cargo yet, take a look here)

Build from source

Clone the repo and install berg with

cargo install --path .

Via crates.io

Anywhere, just run

cargo install codeberg-cli

Void Linux

Run the following:

sudo xbps-install codeberg-cli

Nix/NixOS

Run the following:

nix-shell -p codeberg-cli

or

nix develop nixpkgs#codeberg-cli

Checking the installation

After that, the berg command should be available for you. Check it with berg -V

berg 0.3.6

Usage

Run berg -h for the help menu. Each subcommand also has it's own help menu

Codeberg CLI app
Usage: berg [COMMAND]
Commands:
 auth Authentication subcommands
 user User subcommands
 issue Issue subcommands
 pull Pull request subcommands
 label Label subcommands
 repo Repository subcommands
 milestone Milestone subcommands
 completion Print completion script
 help Print this message or the help of the given subcommand(s)
Options:
 -h, --help Print help (see more with '--help')
 -V, --version Print version

Development

Please take a look at CONTRIBUTING.md before opening PRs. We can't accept PRs which don't stick to the guidelines.

Similar Projects

The development of codeberg-cli has gone to sleep several times due to me being busy. I just want to encourage you checking out similar other projects which are trying to achieve some similar goals:

  • fjo - A collective approach of re-writing codeberg-cli
  • forgejo-cli - A CLI application for interacting with forgejo in general
  • tea - A command line tool to interact with Gitea servers