blob: 217124356fd5e628c4e95b4e926cb6528ecef261 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only
use std::error::Error;
use whirl::cli::Cli;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
// Environment
let matches = Cli::setup();
// Logging
dotenv::dotenv().ok();
pretty_env_logger::init();
// Execution
Cli::execute(matches).await;
Ok(())
}
|