Our great sponsors
-
runtimelab
This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Cocona
Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
My understanding is the opposite; now that they're planning to merge Mono and CoreCLR, there is significantly more pressure on the .NET team to have a proper AOT solution.
"Early adopters can experiment with native AOT form factor" is a priority-zero (highest priority) epic for .NET 6: https://github.com/dotnet/runtimelab/issues/248
For console apps I've been using .NET Foundation's System.CommandLine [1] recently.
It looks like this Spectre.Console you are using is a bit more fancy albeit a lot newer.
1 - https://github.com/dotnet/command-line-api/
Cocona [1] is my command line parsing library of choice.
1. https://github.com/mayuki/Cocona
Click is great and a feature-rich option. But recommend checking out Typer, which is even simpler if you're already using type annotations. [0]
[0]: https://github.com/tiangolo/typer
My example may not be the best, but .NET Commandline handling libraries contain significant quote-handline code. I know because I have relied on it.
I'm less familiar with the library that OP is using, but it seems to be here: https://github.com/spectresystems/spectre.console/blob/main/...