dearchap

Results 306 comments of dearchap

@fiatjaf Thats one of the reasons. The other reason is that the flag aliases values are duplicated into the set for retrieval but set.Value function.

@fiatjaf looking at it further it appears that the function is redudant. It is a holdover from an early v2 codebase. I have removed in v3.

@NilsJPWerner Yes that is the current behaviour. I agree it would be better to make it configurable(i.e sort or not) but at this point we arent adding any features to...

add a SortCategories field to Command

> Additional context: > > With multi-command binaries it's pretty common pattern to do the "config the command" first: > > `cli --server 1.2.3.4 --password-file ~/.cli/production.creds` > > and then...

@fiatjaf Please make sure that there is a field that can be set in Command to enable the behavior. Also make sure you have test cases for ``` cmd subcmd1...

@fiatjaf you may submit the PR and we can merge it but eventually over time it is upto the maintainers to maintain this code and move it forward. So I...

@decentral1se Thank you for the example. The example supposes that these are bool flags correct ? If you had this ``` cli sub1 sub2 --foo 10 sub3 --bar arg1 --baz...