Jupiee / rawst

Rawst is cli downloader, written in rust
GNU General Public License v3.0
14 stars 2 forks source link

Use clap's derive feature. #13

Closed Dietr1ch closed 2 weeks ago

Dietr1ch commented 2 weeks ago

This fully embraces clap (#8) . We get

I think a few diffs from cargo fmt are snuck here. Do you have a setup that enforces formatting on your end?

Jupiee commented 2 weeks ago

This fully embraces clap (#8) . We get

  • Argument validation (We used to limit the thread/partition number by hand after program startup, which is kind of annoying as you want to fail early.
  • Argument auto-completion.

    • I haven't verified this yet
  • Better command structuring

I think a few diffs from cargo fmt are snuck here. Do you have a setup that enforces formatting on your end?

No, I don't have any formatting setup on my end