Using Clap
We have discussed the use of the clap crate on Zulip1. At this
point we have come to the consensus that we are happy to explore the
use of clap in the radicle-cli crate. The expectations for it to
be fully accepted as the replacement for CLI arg parsing are the
following:
- It must at least be similar, if not an improvement, on top of the existing output. The usage examples are definitely somewhere where we need to spend the most time when implementing it – as the default style was quite different.
- A benchmark of the compile times is taken and compared, and we
accept that there isn’t too much of an overhead when introducing
clap.
1
https://radicle.zulipchat.com/#narrow/stream/374620-cli/topic/Clap.20Proposal