3 ms·
The ise can do that if you've got the object at the time you're writing like that, it can't run a command for you as your typing it. You'll never get a drop do
by Already__Taken 10y ago
The ise can do that if you've got the object at the time you're writing like that, it can't run a command for you as your typing it.
You'll never get a drop down list in the host terminal windows has it doesn't have a GUI layer like that. Wrap it in a electron app and make one.
you can type `dir -<tab>` and cycle through the options. type `get-help dir` to see what they do or install posh-git and use `dir -<ctrl-space>` to get a menu of options to choose. I didn't know about -?
- jodrellblank 10y agoYou'll never get a drop down list in the host terminal windows has it doesn't have a GUI layer like that. Except you do, with PSReadline, built into Windows 10 PowerShell.
- Already__Taken 10y agoSorry yes that's psreadline not posh-git like I commented. I wouldnt' call that a drop down though, that's just adding to the output isn't it? You know I've no idea how that works, could come in handy actually I should learn.
- jodrellblank 10y agoIt's as close to a dropdown as you can get in the CLI without putting GUI elements over the top. Try gci - then ctrl+space The available parameters appear on the screen, you can select one with the arrow keys, and tab, when you choose one and press space, they all disappear again. It's interactive, dynamic, it changes depending on how much of the parameter name you've typed - it's not just printing to the screen and stuck there.