mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
15 lines
478 B
C#
15 lines
478 B
C#
using CliFx.Models;
|
|
|
|
namespace CliFx.Services
|
|
{
|
|
/// <summary>
|
|
/// Populates <see cref="ICommand"/> instances with input according to its schema.
|
|
/// </summary>
|
|
public interface ICommandInitializer
|
|
{
|
|
/// <summary>
|
|
/// Populates an instance of <see cref="ICommand"/> with specified input according to specified schema.
|
|
/// </summary>
|
|
void InitializeCommand(ICommand command, CommandSchema schema, CommandInput input);
|
|
}
|
|
} |