Simon Bernard

Results 829 comments of Simon Bernard

To be clearer for positional parameter, I expected something like : ```Invalid value for argument at index 0 : 'not_an_int' is not an int``` instead of ```Unmatched argument at index...

I'm a bit confused because it seems to me that this is a very unusual use case. I would expect that this behavior was not the default one but could...

I will try the workaround you propose and let you know my finding. About providing a PR, this is something that I could maybe do (not sure), but I will...

**First try with custom setter validation.** I'm not sure I use it in a right way but with this code : ```java @Command(name = "myCommand", mixinStandardHelpOptions = true, description =...

**Second try with a parameter consumer.** I try to create a generic parameter consumer which could be used to get the desired behavior explained above. I failed to do because...

I will not try with a parameter preprocessor because in this case I feel I will not be able to do more than with a parameter consumer.

As I said I will maybe give a try about writing a PR. But first, are you still open about this kind of idea ? or maybe now you know...

> Well, these days I prefer to spend my time on other things: the pandemic has changed and clarified my priorities in life quite a bit. sweat_smile More family time...

The `checksum` example above is really small and so it does not really show the benefits. Of course this is rather intended for CLI with lot of options/parameters where displaying...

@remkop, I will open several issues to share some feedbacks and ideas. Do not be afraid :sweat_smile: ! Maybe all of those are not so good idea, we will see...