login
jetformat login
jetformat login --device-auth
Opens the browser to jetformat.com, the same way Codex login does. --device-auth prints a URL and a code instead, for machines without a browser. The token is stored in ~/.jetformat/credentials.json with mode 0600.
status
jetformat status
Prints {"authenticated": true, "balance": 80, "locked": false} without contacting the network.
logout
jetformat logout
Removes the local token. unauth and unAuth are aliases.
What happens on a paid command
- Before the job, the CLI checks that the account has credits. Zero balance refuses to start and writes nothing.
- The job runs locally.
- On success the CLI reports the verb, the unit count, and a job id. Never the file, its name, or a hash.
- On failure it reports zero and nothing is charged.
Override the API base with JETFORMAT_API for self-hosted testing. Release builds have no switch that turns metering off. See how credits work.