Terminal shell completion for Windows

Labels: area/cli/completion kind/feature

Timeline

Deleted user (ghost) opened

I dig how the bash completion code gen works. If anyone knows how to do the same on windows we could codegen what it needs to work also.

Then the question is what windows shell to target ? Good old CMD or Piwershell ? I don't know what the advice would be for Windows 10 these days

I guess it's also important to get feedback from other Devs ( thumbs up for example ) so we know if this is worth the effort too.

Michael Muré (MichaelMure) commented

You would have to add the feature in cobra, the library I use for parsing command line flags and all.

They would certainly be happy to have that, see https://github.com/spf13/cobra/issues/387

Michael Muré (MichaelMure) added label Core

Michael Muré (MichaelMure) closed the bug

sudoforge removed label Core

sudoforge added label area/cli/completion

sudoforge added label kind/feature