qui8t
qui8t
Would the following setup be the only currently supported workaround? ```csharp public static class Person { public static string? Name {set; get;} } public class PersonBinder : BinderBase { private...
That is a possibility; though in my use case, the `Person` (its equivalent of course) has a decent number of attributes that are set through different commands of the CLI,...
Could you please provide an example?
Thanks! To confirm, adding the following fixes the issue (though I guess it would have been better if it was not required :)). ``` rootCmd.SetHandler(x => { }); ```
I wonder if it would be possible to specify options that can be used without subcommands. For instance, with the following: ``` var workingDirOption = new Option("--working-dir"); rootCmd.AddGlobalOption(workingDirOption); ``` Allowed:...
I want the following to fail. ``` --working-dir .: OK ``` Without `rootCmd.SetHandler(x => { });`. In other words, I am curious about how to change the code for the...
Yes, though I am adding the `workingDirOpt` to the `rootCmd` since I want every subcommand to have that option. So, I am trying to avoid the following. ```csharp var subCmd1...
That seems doable, though a bit overkill IMHO, and comes with issues in the help display as you suggested.
I guess this would common use case, so I am wondering if adding a flag to `FromAmong` to treat the values case-[in]sensitive be a better solution.
> Inside the container there are extra tooling steps to make the dev certificate available. I don't know if that is happening when you switch to the code version. Is...