paritytech / cachepot

cachepot is `sccache` with extra sec, which in turn is `ccache` with cloud storage
https://cachepot.cc
Apache License 2.0
171 stars 15 forks source link

Use structopt #121

Closed montekki closed 2 years ago

montekki commented 2 years ago

Fixes #94

Move to structopt but keep the existing cmdline interface for compatibility. So this gets a bit tricky since old enum type cannot be turned into flags by structopt, only into subcommands. Needs a bit more testing for now though.

montekki commented 2 years ago

Interestingly the LOC is not reduced.

drahnr commented 2 years ago

Readability improved significantly though

drahnr commented 2 years ago

Could we rebase or merge master and get this into master? I'd rather not see the work go stale!