CLI Tool for Codeberg similar to gh and glab
Find a file
2023-05-15 22:39:11 +01:00
.woodpecker ci: make cocogitto install locked and versioned (#69) 2023-02-27 06:15:33 +00:00
assets chore(README): fix broken gifs #4 2023-03-13 06:28:15 +01:00
src Feat: Implement Interactive Mode (#82) (for pull create) 2023-04-03 09:36:31 +00:00
.gitignore chore: unignore Cargo.lock file 2023-02-24 22:15:48 +01:00
Cargo.lock Updated Cargo.lock 2023-05-15 22:39:11 +01:00
Cargo.toml Chore: March Release (#83) 2023-04-03 09:47:23 +00:00
CHANGELOG.md build(release): hotfix for packaging 2023-03-19 20:39:38 +01:00
CONTRIBUTING.md docs: Establish conventional commit format (#67) 2023-02-25 18:25:03 +00: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: March Release (#83) 2023-04-03 09:47:23 +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

I. Cargo

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

I.I. Cargo Build (from source)

Clone the repo and install berg with

cargo install --path .

I.II. Cargo Crates.io

Anywhere, just run

cargo install codeberg-cli

II. Void Linux

Run the following:

sudo xbps-install codeberg-cli

III. Checking the installation

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

berg 0.3.4

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.