1 unstable release
new 0.1.0 | Nov 28, 2024 |
---|
#1683 in Command line utilities
15KB
367 lines
BountyHub CLI
bh
is BountyHub CLI tool that allows you to interact with the BountyHub API.
The idea is to provide a way to interact with the API from the terminal.
This is especially important for the BountyHub Runner. It can be used to download the results of previous runs and use it in your pipeline.
Quick Links
Installation
Install using a release
- Download the latest release from the releases page
- Extract the archive
- Move the
bh
binary to a directory in your PATH - Run
bh --help
to see if the installation was successful
Install from source
- Clone the repository
- Change into the directory
- Run
cargo install --path .
Auto completion
To enable auto-completion, you can run the following command:
If you are not sure which shell you are using, you can run the following command:
echo $SHELL
You can run the following command to see what shells are available:
bh completion --help
Examples:
Bash
source <(bh completion bash)
Zsh
source <(bh completion zsh)
Dependencies
~4–12MB
~143K SLoC