diesel-rs/diesel
Auf GitHub ansehenPort diesel-cli argument parsing from clap builders to clap derives
Open
#4.955 geöffnet am 28. Jan. 2026
enhancementhelp wanted
Repository-Metriken
- Stars
- (12.054 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 30T 16h) (30 gemergte PRs in 30 T)
Beschreibung
Diesel-cli is a relatively old application. It was written at a time when clap did not ship a derive. This now changed on the upstream side (since quite some time). Using the derive allows to more easily change/add arguments and documentation to the CLI tool, therefore we would like to move our old argument parsing code over to use the clap derive macro. Hopefully this also makes handling CLI arguments in our application easier as they are then type safe. This needs to keep the old command line interface
The relevant code is here
Relevant documentation:
- Clap Builder reference (old code)
- Clap Derive reference (new code)