blob: 39212e2f754aaa57d7702a0fd59027bde09176f4 (
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(())
}
|