Integration · CLI
Jobs, programs, schedulesfrom your terminal.
The kaab command runs jobs, pushes and pulls programs, approves proposals and creates schedules. It fits in scripts and pipelines: exit codes say what happened.
cli · setup
go install github.com/kaabist/kaab-go/cmd/kaab@latest kaab auth login
How it works
01
Run a job
Run a program with inputs and a session, and wait for the result. The data goes to standard output.
examplekaab jobs run --program acme-report@production \ --input report_id=42 --session acme --wait 60 > data.json
02
Programs as files
Lint, push, pull and diff programs like code, and review fixes from the terminal.
examplekaab programs lint report.json kaab programs push report.json --publish kaab programs diff acme-report 3 4 kaab proposals approve prp_93Hd --promote
03
Schedules and webhooks
Set up a schedule with change detection and a webhook in two lines.
examplekaab schedules create --program acme-report@production \ --cron "0 * * * *" --change-detection --field price kaab webhooks create --url https://example.com/hooks --events 'job.*'
Other integrations