Exit codes and global flags
The cross-cutting contract every lin command honors.
Exit codes
Branch on these; do not parse stderr text.
| Code | Name |
|---|---|
| 0 | ok |
| 1 | generic |
| 65 | validation |
| 66 | not_found |
| 70 | software |
| 75 | temporary |
| 77 | permission |
| 78 | config |
Global flags
Available on every command.
| Flag | Type | Default | Description |
|---|---|---|---|
--fields | string | - | comma list of top-level fields to keep in output |
--no-color | bool | false | disable color output (also honors NO_COLOR) |
--no-input | bool | false | never prompt; fail when required input is missing |
--output, -o | string | json | output format: json, ndjson or table |
--profile | string | - | auth profile to use (see 'lin auth'); env vars still take priority |
--quiet, -q | bool | false | suppress non-essential messaging on stderr |
--timeout | duration | 30s | network timeout per request |