I'm currently looking for packages to help me develop a C# console app for automatisation in .NET 6.0, the packages should ideally support me in the following tasks:
- command line argument parsing
- autocompletion for parameters on the commandline (with TAB)
- "pipelining" or "chaining" the output from one command as input to the next, like it is done f.e. in powershell:
Command-1 | Command-2 | Command-3
Are there any packages that should be used for this specifically in .NET 6.0 (and the new command line template) ?
For "command line argument parsing" I implemented CommandLineParser (last updated 5/1/2020) in the current prototype, which works fine, however this article recommends the new System.CommandLine
and also mentions other packages, should I favour that in .NET 6.0 ? Regarding pipeling I found this old SO post, is pipelining even something that is done in C# console apps, or should I consider implementing PowerShell Cmdlets for that?