20 public override Task<int>
Run(
object? settings)
29 return Task.FromResult(-1);
33 public override object?
Parse(
string[] args)
54 protected abstract Task<int>
Run(T settings);
Exposes the BadScript Runtime Functionality to Consumers.
Wrapper class for the console abstraction.
static void WriteLine(string str)
Writes a string to the console and appends a newline.
Implements a the base features of a Console System.
Implements a Console System that uses a settings object of Type T.
override Task< int > Run(object? settings)
Task< int > Run(T settings)
Runs the Console System with the given settings.
BadConsoleSystem(BadRuntime runtime)
Creates a new BadConsoleSystem instance.
override? object Parse(string[] args)
Provides methods to parse command line arguments.
ParserResult< object > ParseArguments(IEnumerable< string > args, params Type[] types)
Parses a string array of command line arguments for verb commands scenario, constructing the proper i...
Provides settings for CommandLine.Parser. Once consumed cannot be reused.
const int DefaultMaximumLength
static ParserSettings CreateDefault(int? maxDisplayWidth=null)
Contains a Console Abstraction Layer to be able to Simulate Console Input/Output over the Network.
Contains the Console Subsystems of the Console Application.