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

12 lines
298 B
C#
Raw Normal View History

2023-02-16 12:57:06 +00:00
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);
}
}