Marc Khouzam

Results 311 comments of Marc Khouzam

This documentation-only PR is ready for review @jpmcb

We don't usually do patch releases, unless there's a regression or a CVE.

I believe this is correct behavior. When setting the `NoOptDefVal` field for a flag then only the `=` form can be used. The `NoOptDefVal` field is used to specify a...

> If there are no positional arguments defined I don’t believe it’s possible for cobra to know this at the moment. Supporting such a feature would probably mean having to...

> Yes, you can specify that a command doesn't have any positional args. I wish we could use that but: https://github.com/spf13/cobra/issues/1969#issuecomment-1573972622

Wow, I completely lost track of this. Sorry @kangasta. The slow down is about 3 to 4 times slower. I just ran `make bash` in https://github.com/marckhouzam/cobra-completion-testing

Thanks @jpmcb. I'll rebase then merge

@umarcor has been kindly trying to fix this for a while, and the maintainers have finally got time to look into the proposed PRs. I’m hoping this will be fixed...