aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: e9bb749bf49e4d5ffb1f1496988e8232912f4981 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::env;
use action::Action;

mod action;

fn main() {
    let args: Vec<String> = env::args().collect();

    match Action::parse(&args) {
        Ok(action) => action.execute(),
        Err(e) => eprintln!("forge: {}", e),
    }
}