Installation
Requires Go 1.22 or later.- Default location:
$HOME/go/bin(or$GOPATH/binifGOPATHis set) - Check your path: Run
go env GOPATHto see the base directory
openregister command is not found after installation, add the Go bin directory to your PATH:
- .zshrc
- .bashrc
Usage
The CLI follows a resource-based command structure:--help flag:
Environment Variables
| Variable | Description | Required |
|---|---|---|
OPENREGISTER_API_KEY | Your API key, sent as a Bearer token in the Authorization header | Yes |
Global Flags
| Flag | Description |
|---|---|
--api-key | API key (can also be set with OPENREGISTER_API_KEY) |
--help | Show command line usage |
--debug | Enable debug logging, including HTTP request/response details |
--version, -v | Show the CLI version |
--base-url | Use a custom API backend URL |
--format | Output format: auto, explore, json, jsonl, pretty, raw, yaml |
--format-error | Output format for errors: auto, explore, json, jsonl, pretty, raw, yaml |
--transform | Transform output using GJSON syntax |
--transform-error | Transform error output using GJSON syntax |

