Stephan Hradek

Results 135 comments of Stephan Hradek

Okay. Understood. Will think about it. I will try to find some time on Sunday to look into that. Will be a good training in understanding GO for me.

@bartekpacia I thought a bit about it and in fact, I wouldn't need to define two variables as the BoolWithInversFlag already has three states: https://play.golang.com/p/MetA6KyQmM_f * not set * set...

> I think it's no longer "declarative" then. Why? What bothers you? That the default should only be shown if a default is set? To me this seems quite logical....

> Maybe a new BoolWithInverseFlag (or OptionalBool?) function should be created to allow for retrieval of the information you need The current BoolFlag already has all the information I need....

P.S. Can you please educate me on how to run tests? Maybe the question sounds dumb, but I'm still new to go.

> maybe we don't need BoolWithInverseFlag at all? v3 is still in alpha, so we can still change it. I do think so, provided it's okay if every BoolFlag has...

> At first glance, it seems illogical to me. Didn‘t my argument make any sense? About having an environment variable or a default config file defining (for example) `—env` while...

> Frankly, I've never used altsrc with urfave/cli, so I'm not experienced with it. Maybe you could show an example of what you mean? Me neither. But if what you...

> I'm curious what other maintainers think. So how do we find out?

> Could you add a test for this that shows that it's failing? https://pkg.go.dev/text/template#Template.Delims shows that the default is "{{" and "}}", so no need to set this explicitly. Do...