GitBucket CLI
gb is an unofficial command-line tool for working with GitBucket repositories, issues, and pull requests. It is written in Rust and inspired by GitHub CLI.
Prerequisites
- A GitBucket instance, its base URL, and a personal access token from Account Settings → Personal access tokens.
- Git for operations such as cloning, checking out a pull request, or producing a diff.
- Rust and Cargo for Cargo installation or a source build. This source revision requires Rust 1.88.0 or later.
Installation
Download the archive for your platform from GitHub Releases, extract it, and put gb or gb.exe on your PATH. Keep the extracted folder to browse its bundled documentation.
Or install with Cargo:
See building from source for a checkout of this repository.
Quick Start
Enter your token when prompted. If your instance uses a path prefix, use the full base URL, such as https://gitbucket.example.com/gitbucket. Run gb --help for available commands.
Documentation
See the documentation index for command examples, configuration, automation, and the tested GitBucket compatibility baseline.
These guides describe this source revision. For a released binary, use the documentation bundled with its archive or browse the repository at its release tag.