jobber-cli
v0.1.2
Published
Agent-first private-surface CLI for Jobber
Maintainers
Readme
jobber-cli
Agent-first private-surface CLI for Jobber.
This package is intentionally v0:
- browser-assisted auth bootstrap
- raw GraphQL execution
- current user / account identity checks
- generated operation inventory from authenticated frontend bundles
- read-first defaults
Agent Quickstart
From a live logged-in Jobber browser session on the same machine:
jobber auth import-agent-browser
jobber doctor --json
jobber whoami --json
jobber operations list --search client --jsonFor raw one-off GraphQL without creating temp files:
jobber graphql run \
--operation-name CurrentAccount \
--query 'query CurrentAccount { account { id name inTrial industry } }' \
--jsonInstall
Local:
git clone https://github.com/danielgwilson/jobber-cli.git
cd jobber-cli
npm install
npm linkGlobal:
npm install -g jobber-cliAuth
Preferred from a live logged-in agent-browser session:
jobber auth import-agent-browser
jobber auth status --jsonManual auth:
printf '%s' "$JOBBER_COOKIE_HEADER" | jobber auth set-cookie-header --stdin
jobber auth status --jsonSaved config lives at ~/.config/jobber/config.json with 0600 permissions.
Supported env vars:
JOBBER_COOKIE_HEADERJOBBER_GRAPHQL_VERSIONJOBBER_API_URL
Skill Install
This repo includes both a root SKILL.md and a nested skills/jobber/SKILL.md so external installers and repo-based skill flows have an obvious entry point.
Main Commands
jobber doctor --json
jobber whoami --json
jobber auth status --json
jobber operations list --json
jobber operations list --search client --json
jobber operations inspect ClientDefaults --json
jobber graphql run --operation-name CurrentAccount --query 'query CurrentAccount { account { id name inTrial industry } }' --json
jobber graphql run --query-file ./query.graphql --variables-file ./vars.json --jsonNotes
- This adapter depends on Jobber's private web surface and is therefore fragile.
operations listis a discovered inventory, not a guarantee that every operation has a recovered query document yet.graphql runis intentionally generic so new workflows can be tested before typed subcommands are added.auth import-agent-browserassumes a live authenticatedagent-browsersession or attached browser on the same machine.
