Hacker News new | ask | show | jobs
by fainpul 354 days ago
PowerShell has everything related to argument parsing, helptext generation, tab completion, type coercion, validation etc. built-in with a declarative DSL. Many things work even directly OOTB, without requiring special annotations.

It is by far the nicest way to create CLI tools I have ever seen. Every other shell or commandline parsing library I ever tried, feels extremely clunky in comparison.

https://learn.microsoft.com/en-us/powershell/module/microsof...