Re:A Requiem for a Dying Operating System (1994)
by AnIdiotOnTheNet on Friday September 04, 2020 @09:12AM
(#24374599)
PowerShell does an okay job at command line discoverability in my experience. When using a cmdlet I'll think "I hope there's an argument for X" and then I can hit tab after '-' and cycle through all the available arguments. As another post mentioned, this unfortunately falls down a bit with cmdlet names themselves because they start with the verb instead of the noun: Get-<tab> isn't helpful the way NetAdapter-<tab> would be.
[ Parent
| on HN ]
Re:A Requiem for a Dying Operating System (1994)
by SAI_Peregrinus on Friday September 04, 2020 @09:50AM
(#24374891)
Fish is similar in this way, if you're not on Windows and thus don't have access to PowerShell.
Re:A Requiem for a Dying Operating System (1994)
by AnIdiotOnTheNet on Friday September 04, 2020 @09:53AM
(#24374913)
PowerShell is available for Linux.
There's also Elvish, Nushell, and a few other attempts in a similar vein.
Re:A Requiem for a Dying Operating System (1994)
by majkinetor on Friday September 04, 2020 @09:57AM
(#24374953)
I take 'similar vein' as grand euphemism.
Re:A Requiem for a Dying Operating System (1994)
by majkinetor on Friday September 04, 2020 @09:56AM
(#24374947)
PowerShell is besides Linux also available on Unix.
Re:A Requiem for a Dying Operating System (1994)
by ogogmad on Friday September 04, 2020 @01:03PM
(#24376755)
Unix is a family of OSes that includes Linux in particular.
Re:A Requiem for a Dying Operating System (1994)
by majkinetor on Friday September 04, 2020 @09:51AM
(#24374897)
Cycling tabs is not effective. PSreadline supports CTRL+SPACE completition - just type - and then CTRL+SPACE and it will show menu with ALL arguments. The same works if you start argument (i.e. -P<CTRL+SPACE> shows all params starting with P)
Re:A Requiem for a Dying Operating System (1994)
by OldHand2018 on Friday September 04, 2020 @10:33AM
(#24375240)
Ctrl-Space on PowerShell is outstanding, as long as your devs are actually properly commenting their scripts (I assume your in-house PowerShell is put into modules that get installed on user machines).
Re:A Requiem for a Dying Operating System (1994)
by majkinetor on Friday September 04, 2020 @10:44AM
(#24375347)
It has no relation to comments.