Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.18 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.18 KB

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

  1. Download the latest release from the releases page
  2. Extract the archive
  3. Move the bh binary to a directory in your PATH
  4. Run bh --help to see if the installation was successful

Install from source

  1. Clone the repository
  2. Change into the directory
  3. 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)