commandline
commandline copied to clipboard
HelpText different language
Is there a way to make the HelpText parameter support a different language at runtime? example idea, is there an alternative?
public class Options
{
public static Localizer _rb;
public ArgOptions(Localizer rb) { _rb = rb; }
[Value(0, Required = true, HelpText = _rb.Get("name"))]
public string? Name{ get; set; }
}
https://github.com/commandlineparser/commandline/wiki/Help-Localization