1
0
Fork
You've already forked forgmartelo
0
forked from VoiDD/fjo
CLI Tool for forgejo similar to gh, glab and tea
  • Rust 98.2%
  • Nix 1.6%
  • Shell 0.2%
2024年01月10日 15:26:02 +03:00
.woodpecker fix: failing ci because of woodpecker update ( #102 ) 2023年09月19日 19:23:06 +00:00
assets chore(README): fix broken gifs #4 2023年03月13日 06:28:15 +01:00
src Revert "feat: repo new command to interactively create a repo from scratch or push a local one" 2024年01月10日 15:18:34 +03:00
.gitignore fix: add .direnv to gitignore 2024年01月10日 15:19:19 +03:00
Cargo.lock chore: update Cargo.lock file ( #103 ) 2023年09月19日 19:43:17 +00:00
Cargo.toml Feat: Improve git cloning commands ( #100 ) 2023年09月19日 18:40:20 +00:00
CHANGELOG.md Build: Increase cocogitto utilization for release purposes ( #87 ) 2023年05月22日 19:11:52 +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 fix: rewrite the flake to use flake-parts, add checks, apps and overlays 2024年01月09日 18:53:18 +03:00
flake.nix fix(flake): remove pkg-config from nativeBuildInputs as it is already in buildInputs 2024年01月10日 15:26:02 +03:00
LICENSE chore(license): update license 2023年02月24日 22:15:48 +01:00
Makefile.toml refactor(crate-layout): Refactor to non-workspace architecture ( #72 ) 2023年03月13日 05:13:03 +00:00
README.md Chore: Update README with nix/nixos installation ( #106 ) 2023年09月19日 20:15:52 +00:00
shell.nix feat(scaffolding): starting new with clap instead of structopt 2023年02月24日 22:15:48 +01:00

License: AGPL v3 crates.io

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.