CLI
The pipeloom command, for terminals, scripts, CI and coding agents.
npm install -g pipeloom
pipeloom login
pipeloom workspaces
pipeloom use "Analytics"
pipeloom list-pipelinesIt needs Node.js 20 or later.
Signing in
| Where | How |
|---|---|
| Your own computer | pipeloom login opens the browser. Sign in as usual and confirm the code shown. |
| As a service account | pipeloom login --service-account <id>, then paste the secret at the hidden prompt, or pipe it in. |
| As an Application | pipeloom login --client-id <id>, the same way. |
| CI | Set PIPELOOM_SERVICE_ACCOUNT_ID and PIPELOOM_SERVICE_ACCOUNT_SECRET from your CI's secret store. An Application's PIPELOOM_CLIENT_ID and PIPELOOM_CLIENT_SECRET work too. |
The sign-in is kept in the macOS Keychain or the system keyring on Linux, and otherwise in a file
only you can read. pipeloom logout forgets it. Keep several side by side with --profile.
Service accounts
An organization admin can manage the organization's service accounts from the CLI as well as in Organization settings:
pipeloom service-accounts # list them
pipeloom service-accounts create --name ci --role runner # reader, runner or editor
pipeloom service-accounts rotate <id> # a new secret; the old one stops working
pipeloom service-accounts delete <id>The secret is printed once, when the account is made or given a new one. Put it straight in your
CI's secret store. Rotating and deleting ask first; in a script, add --yes.
Commands
Every tool is a command, named in kebab case. pipeloom tools lists them all, and
pipeloom <command> --help shows one command's flags.
pipeloom get-run-logs --run-id 0f3c… --failed-only
pipeloom run-pipeline --pipeline-id 7a1e…
pipeloom create-connector --input @connector.json
pipeloom call list_runs --input '{"limit": 5}'- Flags are the command's input. A list takes the flag once per item. An object takes JSON, or
@file.json. --inputtakes the whole input as JSON,@file.json, or-for stdin.- Output is readable at a terminal, and JSON when piped or with
--json. --workspace(orPIPELOOM_WORKSPACE) runs one command in another workspace.
| Exit code | Means |
|---|---|
| 0 | Done |
| 1 | Refused or failed |
| 2 | A wrong command or flag; nothing was sent |
| 3 | Not signed in |
| 4 | Needs confirming; nothing changed |
Confirming
At a terminal, a delete asks first: Delete the source “Orders DB”. Go ahead? [y/N]. In a script it
changes nothing, prints what it would do with a confirmToken, and exits 4. Run it again with
--confirm-token <token>, or pass --yes up front.
Secrets
The CLI refuses --password, --secret, --token and --value flags, because your shell history
and ps would show them. Store a secret instead:
pipeloom secrets set PG_PASSWORD # hidden prompt
pipeloom secrets set PG_PASSWORD --from-env PG_PASSWORD
pipeloom secrets set SSH_KEY --from-file ./id_ed25519
vault read -field=pw secret/pg | pipeloom secrets set PG_PASSWORDThen refer to it in a command's input:
{"secretRef": "PG_PASSWORD"}is a secret stored in Pipeloom. The server fills it in.{"$env": "PG_PASSWORD"}or{"$file": "./key.pem"}is read on your computer when the command runs, and never shows in the output.
For coding agents
Tell your agent to run pipeloom guide first. It prints how to find things, confirm changes and
handle secrets, written for an agent. For example, in your project's AGENTS.md or CLAUDE.md:
Pipeloom is used through the `pipeloom` CLI. Run `pipeloom guide` before the first command.
Never put a password in a command: use {"secretRef": "NAME"}, or ask me to run
`pipeloom secrets set NAME`.Self-hosted
Point the CLI at your own Pipeloom with --api-url or PIPELOOM_API_URL.