12 lines
306 B
C#
12 lines
306 B
C#
|
using InnovEnergy.Lib.SysTools.Remote;
|
||
|
|
||
|
namespace InnovEnergy.Lib.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);
|
||
|
}
|
||
|
}
|