mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 14:30:10 +01:00
15 lines
305 B
Rust
15 lines
305 B
Rust
|
|
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.");
|
||
|
|
}
|
||
|
|
}
|