aboutsummaryrefslogtreecommitdiff
path: root/crates/cli/src/exercises.rs
Commit message (Collapse)AuthorAgeFilesLines
* exercises: fix error messageMiquel Sabaté Solà2026-01-291-2/+2
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* exercises: simplify the kindMiquel Sabaté Solà2026-01-291-14/+1
| | | | | | | | | As for now, all exercises I have follow the same pattern and there can be multiple workflows that can fit to it. Yes, maybe in the future it might be interesting to add other kinds of exercises, but for now I'm good and we can keep things simple. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Split lib.rs into multiple filesMiquel Sabaté Solà2026-01-291-7/+10
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Implement the 'ls' command for exercisesMiquel Sabaté Solà2026-01-141-0/+17
| | | | | | | It was the only part missing for exercises, which was even listed in -h/--help. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Fix style issues coming from recent mergeMiquel Sabaté Solà2026-01-131-2/+2
| | | | | | | | | I apparently merged the 'inflection' branch without checking the code style. This means that a lot of warnings are being raised by clippy and I'm unsure which commit did what. Since I'm lazy about this right now, let's bring all fixes in a single commit. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Add exercises to the practice commandMiquel Sabaté Solà2025-07-291-1/+1
| | | | | | | | The '-e/--exercises' has also been introduced to instruct the 'practice' command to only go for exercises, and the '-k/--kind' flag allows the user to further filter which kind of exercise to practice. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add the exercises commandMiquel Sabaté Solà2025-07-291-0/+254
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>