pub fn print_list<T: Serialize + Display>(items: &[T]) -> Result<()>
Prints a list of serializable items: JSON envelope wrapping an array in --json mode, one item per line otherwise.
--json