Browse Source

Drop some old stuff until it's written

Samuel W. Flint 5 years ago
parent
commit
a883d13f34
1 changed files with 9 additions and 12 deletions
  1. 9 12
      src/main.rs

+ 9 - 12
src/main.rs

@@ -2,9 +2,6 @@
 extern crate clap;
 use clap::App;
 
-mod run;
-use run::run;
-
 mod config;
 
 fn main() {
@@ -12,14 +9,14 @@ fn main() {
     let matches = App::from_yaml(yaml).get_matches();
 
     match matches.subcommand_name() {
-        Some("run") => if let Some(matches) = matches.subcommand_matches("run") {
-            let names = matches.values_of("name").unwrap();
-            // names.mambo
-            // println!();
-            run(names);
-            // for thing in names {}
-        },
-        _ => println!("Nothing")
+        Some("run") => println!("Running..."), // if let Some(matches) = matches.subcommand_matches("run") {
+        //     let names = matches.values_of("name").unwrap();
+        //     // names.mambo
+        //     // println!();
+        //     run(names);
+        //     // for thing in names {}
+        // },
+        Some(thing) => println!("{}", thing),
+        _ => println!("No subcommand."),
     }
-    
 }