linLinear CLI

Exit codes and global flags

The cross-cutting contract every lin command honors.

Exit codes

Branch on these; do not parse stderr text.

CodeName
0ok
1generic
65validation
66not_found
70software
75temporary
77permission
78config

Global flags

Available on every command.

FlagTypeDefaultDescription
--fieldsstring-comma list of top-level fields to keep in output
--no-colorboolfalsedisable color output (also honors NO_COLOR)
--no-inputboolfalsenever prompt; fail when required input is missing
--output, -ostringjsonoutput format: json, ndjson or table
--profilestring-auth profile to use (see 'lin auth'); env vars still take priority
--quiet, -qboolfalsesuppress non-essential messaging on stderr
--timeoutduration30snetwork timeout per request

On this page