lincli 2026.4.0

Linear CLI — manage issues, projects, cycles, and more from the terminal
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod color;
pub mod detail;
pub mod interactive;
pub mod table;

use serde::Serialize;

pub fn print_json<T: Serialize>(value: &T) {
    match serde_json::to_string_pretty(value) {
        Ok(json) => println!("{json}"),
        Err(e) => eprintln!("Error formatting JSON: {e}"),
    }
}