Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow user to add completion for powershell alias
When a user has an alias in powershell, she will need to register that alias for completion. To make that possible, we store the completion logic into a scriptblock variable which can easily be accessed by the user to register aliases. For example, if the user defines an alias for `helm`: PS> sal h helm she will need to register the alias like so: PS> Register-ArgumentCompleter -CommandName 'h' -ScriptBlock $__helmCompleterBlock Merge spf13/cobra#1621
- Loading branch information