Hacker News new | ask | show | jobs
by usrn 1476 days ago
I'd imagine power shell has some way to pull the available parameters out of cmdlets (they probably all inherit from some cmdlet class or something.) On bash you have to get this from somewhere else.
1 comments

I think it also helps that PowerShell treats everything as objects and can pass them in pipes.
If bash had some way to specify that a command is "pure" (doesn't mutate anything) you could do this there (among other nice things.)