Guidance for adding powershell tab completion

Topics: General
Editor
Oct 5, 2012 at 9:58 PM

is there any guidance to adding tab completion to a nuget package?  I searched the docs and that was not clear, so I am assuming it is just standard powershell tab completion/expansion. But I thought I would ask to make sure there was not any helpers or apis that nuget provides to make that easier on nuget package/tool authors.

 

Thanks,

Developer
Oct 7, 2012 at 3:52 PM
Edited Oct 7, 2012 at 3:52 PM

We provide the Register-TabExpansion function to help package register their own command. I admit that we haven't done a good job of documenting this.

Editor
Oct 8, 2012 at 4:23 PM

Thanks, I remember seeing it before in a very early release but could not remember how to do it or where to find it.. thanks,