Innovenergy_trunk/csharp/lib/SysTools/Edges/SysCommandToRemoteCommand.cs

12 lines
298 B
C#

using InnovEnergy.SysTools.Remote;
namespace InnovEnergy.SysTools.Edges;
public static class SysCommandToRemoteCommand
{
public static RemoteCommand At(this SysCommand command, SshHost host)
{
var (path, args) = command;
return new RemoteCommand(host, path, args);
}
}