1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00

sendtablename wip

This commit is contained in:
Robin Appelman 2019-07-10 14:03:58 +02:00
commit 1f35e4d04c
6 changed files with 114 additions and 24 deletions

View file

@ -8,7 +8,8 @@ fn main() -> std::result::Result<(), Box<ParseError>> {
let args: Vec<_> = env::args().collect();
if args.len() < 2 {
panic!("1 argument required");
println!("1 argument required");
return Ok(());
}
let path = args[1].clone();
let file = fs::read(path).expect("Unable to read file");