Output formats
tmuxp 1.74.0 · Source
Choose the output supported by each tmuxp command:
| Command | Machine output |
|---|---|
ls¶ | --json returns an object containing workspaces; --ndjson returns records |
search¶ | --json and --ndjson; read the command’s empty-result caveats |
debug-info¶ | --json |
freeze, convert, imports¶ | YAML or JSON workspace document output, separate from a result protocol |
$ tmuxp ls --jsonDo not assume every command accepts a global JSON mode. Read the command reference for flags, prompts and destinations, and exit codes before interpreting an empty stream as success.
--color auto|always|never, NO_COLOR and FORCE_COLOR control human styling.
Use explicit output formats when a script reads the result.