spl/src/main.rs

10 lines
181 B
Rust
Raw Normal View History

2023-02-25 15:02:31 +01:00
use spl::start_file;
2023-02-17 22:47:45 +01:00
2023-02-25 11:37:07 +01:00
use std::env::args;
2023-02-17 20:00:39 +01:00
2023-02-25 11:37:07 +01:00
fn main() {
if let Err(x) = start_file(&args().nth(1).expect("no file provided to be started.")) {
println!("{x:?}");
}
2023-02-17 20:00:39 +01:00
}