cleo icon indicating copy to clipboard operation
cleo copied to clipboard

Tab completion for Windows Powershell

Open hmleal opened this issue 4 years ago • 2 comments

  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x] I have searched the documentation and believe that my question is not covered.

Feature Request

I't would be nice to have a tab completion for Windows Powershell, we can easily implement this using:

Register-ArgumentCompleter -Native -CommandName poetry -ScriptBlock {
  # TODO
}

I can start to implement it if more people or the poetry author support the idea.

hmleal avatar Jan 09 '22 13:01 hmleal

@hmleal are you still interested in helping with that? I moved the issue from the Poetry repository since Cleo powers Poetry completions. You can look at the code in https://github.com/python-poetry/cleo/blob/main/src/cleo/commands/completions_command.py for reference on how it's done for Linux shells.

Secrus avatar Sep 08 '22 19:09 Secrus

Can we see Powershell instead/as well?

KotlinIsland avatar Jan 10 '24 03:01 KotlinIsland