Start parsing lines

This commit is contained in:
Joscha 2021-11-17 22:40:11 +01:00
parent f6c249393b
commit 2a1560cfb9
3 changed files with 117 additions and 0 deletions

View file

@ -3,6 +3,7 @@ use std::path::PathBuf;
use structopt::StructOpt;
mod commands;
mod parse;
#[derive(Debug, StructOpt)]
pub struct Opt {
@ -13,4 +14,7 @@ pub struct Opt {
fn main() {
let opt = Opt::from_args();
println!("{:#?}", opt);
let commands = parse::parse(&opt.file);
println!("{:#?}", commands);
}