improve webfront command error feedback

This commit is contained in:
RaidMax
2022-10-25 14:52:12 -05:00
parent 797642f3e6
commit b5b01cba4c
4 changed files with 18 additions and 6 deletions

View File

@ -7,4 +7,5 @@ namespace SharedLibraryCore.Interfaces;
public interface IRemoteCommandService
{
Task<IEnumerable<CommandResponseInfo>> Execute(int originId, int? targetId, string command, IEnumerable<string> arguments, Server server);
Task<(bool, IEnumerable<CommandResponseInfo>)> ExecuteWithResult(int originId, int? targetId, string command, IEnumerable<string> arguments, Server server);
}