public void ItBindsCustomContextTypeToOnExecute() { var customContext = new CustomCommandLineContext(); Assert.Equal(7, CommandLineApplication.Execute <CustomContextApp>(customContext)); }
public int OnExecute(CustomCommandLineContext context) => context.Value;