For example, how to get foo in following command?
examplecommand foo
I don’t want to directly access args in static void Main(string[] args), because I want to use options that System.CommandLine basically provides or I created.
This is maybe C# version of this question.
C# – Console App – How To Read CLI option arguments