mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
init
This commit is contained in:
commit
334bd88b03
11 changed files with 317 additions and 0 deletions
14
src/main.rs
Normal file
14
src/main.rs
Normal 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.");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue