John Schnake

Results 148 comments of John Schnake

Is this for testing? I recall when I was needing that sort of functionality the best thing to do is simply design the tests so that you get a new...

Going to leave this open for now but you have a self-reported workaround and an existing way to support this so I dont think modifying it would be particularly worthwhile....

Seems like there was positive feedback on this issue and it would be relatively straight forward to support a new flag type. This would go into https://github.com/spf13/pflag though. I'd be...

The docs use the `Flags()` function so they seem accurate; I am also not sure the fully history of the function origins but if you would like to add a...

Thanks for the idea. I've also wished it was easier to get different groups without having to write my own templates and such. I haven't investigated the code change required...

With the time since the original complaint I want to repro this again and make sure its still relevant. I think it is and there may even be a duplicate...

Absolutely; as the other issues make clear we are on board with those kind of changes. My only comment would be to try and make it so that those changes...

I'm not sure how familiar you are with the context timeouts in general but it doesnt interrupt execution automatically. You have to be checking a channel to see if you've...

> When using a help flag as -help, cobra understands as something like myprogram -h elp, this is the expected behavior? Shouldn't this be interpreted as unknown flag? I believe...

https://github.com/google/starlark-go/issues/252#issuecomment-553930328 is an example of embedding the go context into the thread local storage before the run but still having the potential for it to change (ie obviously this is...