Skip to navigation

Global options

Every command accepts the options below in addition to its own parameters. Flags override the corresponding environment variables. Two exceptions apply in one direction only: --log cannot re-enable logging once DEEL_LOG=off is set, and no flag can disable body logging once DEEL_LOG_BODIES=1 is set. Boolean flags that default to on are disabled with a --no- prefix, for example --no-json and --no-log.

OptionDescriptionEnvironment variable
--input=<input>Request body: file://path | JSON | key=value shorthand—
--file=<file>Multipart file part: field=@path (repeatable)—
--jsonJSON output (—no-json for human-readable on a TTY) Default: on.—
--quietPrint ids only—
--fields=<fields>Comma-separated field projection—
--jq=<jq>Transform output with an embedded jq filter—
--rawWith —jq, print scalar string results unquoted (like jq -r)—
--formSend as multipart/form-data (for endpoints that also accept a file upload)—
--env=<env>Environment: prod | demo (default prod)DEEL_ENV
--ca-cert=<ca_cert>Extra CA certificate (PEM) to trust, on top of the OS store — e.g. an internal/dev rootDEEL_CA_CERT
--token-stdinRead the PAT from stdinDEEL_TOKEN (alternative source)
--idempotency-key=<idempotency_key>Override the auto-derived idempotency key—
--logLocal logging (—no-log to disable) Default: on.DEEL_LOG=off
--log-bodiesInclude full response bodies in the local log (off by default; also DEEL_LOG_BODIES=1)DEEL_LOG_BODIES=1
--debugPrint request diagnostics to stderr—
--generate-inputPrint a JSON body skeleton and exit—

--help and --version are available on every command and exit without calling the API. See Command structure for --help --json and --generate-input.