This commit is contained in:
iff 2023-07-30 18:40:18 +02:00
commit 334bd88b03
11 changed files with 317 additions and 0 deletions

14
src/main.rs Normal file
View file

@ -0,0 +1,14 @@
mod corrections;
mod shell;
mod style;
fn main() {
std::env::set_var("LC_ALL", "C");
let corrected_command = corrections::correct_command();
if let Some(corrected_command) = corrected_command {
corrections::confirm_correction(&corrected_command);
} else {
println!("No correction found.");
}
}