public void SetupContext() { Parser = new SwitchParser <TestConfigSettings>(); Parser.AddSwitch("--foo", "-f") .SetsField(x => x.Foo) .WithDescription("FooDescription"); Usage = Parser.GetUsage(); }
public void SetupContext() { Parser = new SwitchParser<TestConfigSettings>(); Parser.AddSwitch("--foo", "-f") .SetsField(x => x.Foo) .WithDescription("FooDescription"); Usage = Parser.GetUsage(); }
public string GetUsage() { return(SwitchParser.GetUsage()); }