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.
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.
- Rebase
REVIEW
Changes:
- Return
impl Iteratorfrom payload parsing function - Assert value number in payload parsing function
- Add unit tests
REVIEW
- Squash review commits
- Rebase
Review
Changes:
- Use
REVISION_IDand fix a missing new line
Changes:
- Squashed
lorenz’s changes - Removed errant whitespace
- Renamed all accounts of
REVISON-IDtoREVISION_ID
REVIEW: make the panic message even nicer
Rebase