Skip to main content

json_requested

Function json_requested 

Source
pub fn json_requested(matches: &ArgMatches) -> bool
Expand description

Whether the parsed command asked for JSON output, at whatever depth its --json flag sits. A command with no --json flag never asks.