mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
feat: fuzzy search not found commands
This commit is contained in:
parent
86ae6a6fb4
commit
135abc75b6
5 changed files with 177 additions and 27 deletions
|
|
@ -18,7 +18,10 @@ fn main() {
|
|||
if let Some(corrected_command) = corrected_command {
|
||||
corrections::confirm_correction(&shell, &corrected_command, &last_command);
|
||||
} else {
|
||||
println!("No correction found for the command: {}\n", last_command.red().bold());
|
||||
println!(
|
||||
"No correction found for the command: {}\n",
|
||||
last_command.red().bold()
|
||||
);
|
||||
println!("If you think there should be a correction, please open an issue or send a pull request!");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue