aboutsummaryrefslogtreecommitdiff
path: root/crates/cli/src/words.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add basic validation for verbs and pronounsMiquel Sabaté Solà2026-01-131-9/+23
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Trim word parts on database insertMiquel Sabaté Solà2025-10-271-1/+3
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Provide initial implementation for word inflectionMiquel Sabaté Solà2025-10-271-19/+165
| | | | | | | | | | Word inflection for nouns, adjectives has been added so it can be initially be used in commands like 'words show'. Word categories which have no inflections (e.g. adverbs, conjunctions, et al) are skipped. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add the exercises commandMiquel Sabaté Solà2025-07-291-2/+2
| | | | | | | Subcommands have been added to it which are similar to the ones on words on purpose. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add weight to wordsMiquel Sabaté Solà2025-07-291-0/+16
| | | | | | | This allows for the user to give more importance to some words than others, as that will be taken into account when running `practice`. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Implement the edit subcommand for wordsMiquel Sabaté Solà2025-07-291-98/+185
| | | | | | | This implied replacing the Guess struct for a full Word, so the same code for word creation could be re-used. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* words: Move away the selection of a wordMiquel Sabaté Solà2025-07-251-16/+37
| | | | | | | | This is in preparation to the implementation of the new 'edit' and 'show' subcommands for 'word', which will also need to operate on exactly one word. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Apply suggestions from clippyMiquel Sabaté Solà2025-07-251-27/+50
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Implement creation of wordsMiquel Sabaté Solà2025-07-251-20/+332
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Initial commitMiquel Sabaté Solà2025-06-031-0/+141
Basic commands have been added, but most of the features for this project are still work in progress. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>