cordis-cli 0.0.17

Command line runner (daemon/worker) for the cordis-rs plugin framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! The `cordis` binary: see [`cordis_cli`] for the actual implementation.

use std::ffi::OsString;

fn main() {
    // OsStrings all the way down: a config path with non-UTF-8 bytes (legal
    // on Unix filesystems) must reach the loader unchanged instead of being
    // mangled into replacement characters.
    let args: Vec<OsString> = std::env::args_os().skip(1).collect();
    std::process::exit(cordis_cli::run(args));
}