oxitime 0.1.2

Oxitime is a fast, minimal, and terminal-native Pomodoro time tracker built with the Rust programming language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use oxitime::run;
use anyhow::Result;

fn main() -> Result<()> {
    // Build configuration from command-line arguments and configuration file. Command-line
    // arguments take precedence over the configuration file.
    let config = oxitime::config::Config::load();

    if let Err(error) = run(config) {
        eprintln!("{}", error);
        std::process::exit(1);
    }

    Ok(())
}