OS Manuals

/usr/bin/berg

CLI Tool for Codeberg similar to gh and glab

From berg 0.5.5-r21 (os), captured 2026-11-05 by running berg --help (exit 0). permalink

Codeberg/Forgejo CLI app

Usage: berg [OPTIONS] <COMMAND>

Commands:
  api           API subcommands
  auth          Authentication subcommands
  config        Config subcommands
  user          User subcommands
  issue         Issue subcommands
  pull          Pull request subcommands
  label         Label subcommands
  release       Release subcommands
  repo          Repository subcommands
  milestone     Milestone subcommands
  notification  Notification subcommands
  keys          Key management subcommands
  completion    Print completion script
  help          Print this message or the help of the given subcommand(s)

Options:
      --output-mode <OUTPUT_MODE>
          How to display the responses of the forgejo instance if there are any

          Possible values:
          - pretty: Pretty output with tables rendered in the terminal
          - json:   Raw json output for further use with pipes etc

          [default: pretty]

      --non-interactive
          Whether or not to disable all interactive features. In this case arguments have to be
          provided in the console!

          Still WIP

  -w, --max-width <MAX_WIDTH>
          Maximum with of the stdout output,

          - negative numbers indicate using 'infinite' width per line

          - zero indicates using the terminals width

          - positive numbers are interpreted as max width. You may specify widths that can lead to
          weird linebreaks. This is a feature for tools which process stdout output line by line.
          You may also just negative widths in this case. We discourage use of widths <= 25

          Falls back to `max_width` value in config or defaults to 80 otherwise.

      --owner-repo <OWNER/REPO>
          The OWNER/REPO tuple if you want to target a repository other than the one in $PWD

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version
Options (6)
OptionDescriptionSource
--output-mode OUTPUT_MODEHow to display the responses of the forgejo instance if there are anyhelp
--non-interactiveWhether or not to disable all interactive features.help
-w, --max-width MAX_WIDTHMaximum with of the stdout output,help
--owner-repo OWNER/REPOThe OWNER/REPO tuple if you want to target a repository other than the one in $PWDhelp
-h, --helpPrint help (see a summary with '-h')help
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.