Skip to main content

JSON_FLAG

Constant JSON_FLAG 

Source
pub const JSON_FLAG: &str = "--json";
Expand description

Optional companion flag that asks for JSON output instead of the human-readable renderer. The CLI always passes this when subprocessing — the CLI’s --json decides whether to pass-through the JSON or pretty-print, but the project always emits JSON when running headless.