zube-cli is a small Command Line Utility written in Go for interacting with the Zube issue tracking system.
- Fetch various Zube resources
- Construct complex Zube queries
- Create cards same way you would using the web client
- Client-side request caching
Using Nix
Install using profiles:nix profile install github:platogo/zube-cliUsing Homebrew
brew install platogo/tap/zube-cliManually
Make sure you have `go` and `make` installed, then runmake
make installOptionally install ZSH completions with:
make completions.zshzube expects a configuration file with your client_id.
zube looks for this configuration file, in order, in:
~/config/zube/config.yml$XDG_CONFIG_HOME/zube/config.yml
You can find out how to get the client_id in the offical Zube docs.
Example of a config.yml:
client_id: some-super-long-client-idEasiest way to set your client_id is by:
Creating the configuration file, with either
touch ~/config/zube/config.ymltouch $XDG_CONFIG_HOME/zube/config.ymlInitializing the config
zube config initYou must also save your Zube private key .pem file in ~/.ssh/zube_api_key.pem
This file is also used to cache your access token, so make sure only you have access to it.
Simply call zube to see a list of available commands and flags.
For example, to view your current user's information and check that everything works:
$ zube currentPerson
Username: Daniils-Petrovs
Name: Daniils PetrovsTo list cards by a filter (e.g. by status), you would do:
$ zube card ls --status done
Number Title Status
------ ---------------------------------------------- ----------
13260 Use matrix in github build actions... done
13252 Fix export timestamp... doneRead CONTRIBUTING
- Cards
- interactive creation
- editing
- movement
- archiving
- commenting
- Card queries / search by text
- Homebrew formula
- Zube Query Launguage (ZQL) parser as alternative for command line flag filters
- Filter support by name instead of just by IDs
- Optionally dump response data as JSON
-
zubeddaemon for periodic update polling - Move
zubefunctionality into dedicatedzube-golibrary - Internal
- request caching
- smart automatic auth using browser cookie store access