mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-08 23:41:57 +02:00
Refactor CLI command system to support async execution and central command history
This commit is contained in:
+1
-1
@@ -19,5 +19,5 @@ public interface ICommand
|
||||
/// </summary>
|
||||
/// <param name="arguments">The arguments provided to the command.</param>
|
||||
/// <param name="printLine">A delegate to stream output lines to the current console or terminal.</param>
|
||||
void Execute(string? arguments, Action<string> printLine);
|
||||
Task ExecuteAsync(string? arguments, Action<string> printLine);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user