mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
This implementation works around the fact that `clap` does currently not support value parsers for a series of values, so representing `--payload` as a `Vec<Payload>` does not work. Instead, we parse eveything into a `Vec<String>` and do the validation on the application side. Using value parsers for a series of values will probably be supported in `clap` v5, though.