Skip to main content

picker_for

Function picker_for 

Source
pub fn picker_for<'a>(out: &'a Output, json: bool) -> Box<dyn Picker + 'a>
Expand description

The picker for this run: never for JSON output; the TUI’s list when the TUI pane shows the output; no prompt in a server or without a terminal; else the terminal.