toggl-jira-sync 0.1.19

Local Toggl to Jira worklog sync CLI with SQLite state and a Ratatui status UI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{app, cli::StatusArgs};

pub async fn run(args: StatusArgs) -> anyhow::Result<()> {
    let (_, _, report) = app::status_report(args.paths, args.limit)?;

    if args.json {
        println!("{}", report.to_json_string()?);
    } else {
        println!("{}", report.to_human_string());
    }

    Ok(())
}