rusht 1.1.0

Shell commands written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use ::clap::StructOpt;
use ::env_logger;

use ::rusht::cached::handle_cached;
use ::rusht::cached::CachedArgs;
use ::rusht::ExitStatus;

#[async_std::main]
async fn main() -> ExitStatus {
    env_logger::init_from_env(
        env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "warn"),
    );
    let args = CachedArgs::from_args();
    handle_cached(args).await
}