openlogi 0.7.0

OpenLogi command-line interface — a local-first companion for Logitech HID++ peripherals.
1
2
3
4
5
6
7
8
9
10
11
use std::process::ExitCode;

use anyhow::Result;

// `Result<ExitCode, anyhow::Error>` is itself a `Termination`: the status
// travels back from the subcommand, and an error still prints the anyhow
// chain before exiting with a failure status.
#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<ExitCode> {
    openlogi_cli::run().await
}