Interface IEndpointCommand
- Namespace
- TypedRest.CommandLine.Commands
- Assembly
- TypedRest.CommandLine.dll
Command operating on an IEndpoint.
public interface IEndpointCommandProperties
Console
The text input/output device used for user interaction.
IConsole Console { get; set; }Property Value
Methods
ExecuteAsync(IReadOnlyList<string>, CancellationToken)
Parses command-line arguments and executes the resulting operation.
Task ExecuteAsync(IReadOnlyList<string> args, CancellationToken cancellationToken = default)Parameters
- argsIReadOnlyList<string>
- the console arguments. 
- cancellationTokenCancellationToken
- Used to cancel the request.