docs: update changes

This commit is contained in:
iff 2024-12-08 16:48:06 +01:00
parent c9b9f66f89
commit d5fb7462e0
3 changed files with 13 additions and 3 deletions

View file

@ -9,9 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Modular system
- Package manager integration for `apt` (also `snap` and `pkg` by `command-not-found`), `dnf`, `emerge`, `nix`, `yum`
- Adding aliases to executable match
### Changed
- Heavy project refactoring
- `runtime-rules` and `request-ai` are now modules instead of features
## [0.5.15]
### Added

View file

@ -4,8 +4,9 @@ Typed a wrong command or don't know what to do? Pay Respects will suggest a fix
- 🚀 **Blazing fast suggestion**: You won't notice any delay for asking suggestions!
- ✏️ **Easy to write rules**: You don't need to know Rust. The rules are written in a TOML file!
- 🔩 **Modular**: TOML not your taste? Add sources with your favorite language with a custom module!
- 🎯 **Accurate results**: Suggestions are verified before being prompted to the user, no `sudo` suggestions when you are using `doas`!
- 🤖 **AI Support**: AI comes in aid when there is no rule for your error!
- 🤖 **AI Support**: AI module comes in aid when there is no rule for your error!
- 🪶 **Tiny binary size**: Not even 1MB for core features!
![showcase](./img/showcase.gif)

View file

@ -30,8 +30,11 @@ pub fn suggest_candidates(data: &mut Data) {
add_candidates_no_dup(command, &mut suggest_candidates, &candidates);
}
eprintln!("modules: {modules:?}");
eprintln!("fallbacks: {fallbacks:?}");
#[cfg(debug_assertions)]
{
eprintln!("modules: {modules:?}");
eprintln!("fallbacks: {fallbacks:?}");
}
for module in modules {
let new_candidates = module_output(data, module);