aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorGravatar BanceDev 2026-02-25 00:25:07 -0500
committerGravatar BanceDev 2026-02-25 00:25:07 -0500
commit337647e9dfd21a5d319530e600b015c70ac64294 (patch)
treebb7746c7fccf643778c90f862555ac37539cbee9 /src/main.rs
initial commit
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..e9bb749
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,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),
+ }
+}