picocli icon indicating copy to clipboard operation
picocli copied to clipboard

Support PowerShell completion

Open remkop opened this issue 5 years ago • 0 comments

PowerShell supports customizable TAB completion. It should be possible to generate a custom argument completion from a picocli model.

See:

  • https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/register-argumentcompleter?view=powershell-7
  • https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_functions_advanced_parameters?view=powershell-7
  • Example: https://github.com/click-contrib/click-completion
  • Example: https://github.com/clap-rs/clap/blob/master/clap_generate/src/generators/shells/powershell.rs

remkop avatar Jan 20 '20 06:01 remkop