aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-03 11:15:14 +0000
committerFuwn <[email protected]>2021-05-03 11:15:14 +0000
commita4e424a3f97e1ab04aa5c1d1778278cdd28bf558 (patch)
treecb0ddb2817b023f62344aa20dacb04069c88a20f /src
parentrefactor(global): remove all the fluff from main file (diff)
downloadwhirl-a4e424a3f97e1ab04aa5c1d1778278cdd28bf558.tar.xz
whirl-a4e424a3f97e1ab04aa5c1d1778278cdd28bf558.zip
docs(main): nice commenting
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index c4b6c49..39212e2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,12 +7,14 @@ use whirl::cli::CLI;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
+ // Environment
let matches = CLI::setup();
- // Setup logging
+ // Logging
dotenv::dotenv().ok();
pretty_env_logger::init();
+ // Execution
CLI::execute(matches).await;
Ok(())