namespace InnovEnergy.SysTools.Edges; public static class SysPathToSysCommand { public static SysCommand ToCommand(this SysPath path) => new SysCommand(path); public static SysCommand Opt1(this SysPath path, String option) { return path .ToCommand() .Opt1(option); } public static SysCommand Opt1(this SysPath path, String option, Object value, String separator = " ") { return path .ToCommand() .Opt1(option, value, separator); } public static SysCommand Opt2(this SysPath path, String option) { return path .ToCommand() .Opt2(option); } public static SysCommand Opt2(this SysPath path, String option, Object value, String separator = "=") { return path .ToCommand() .Opt2(option, value, separator); } public static SysCommand Opt(this SysPath path, String option) { return path .ToCommand() .Opt(option); } public static SysCommand Opt(this SysPath path, String option, Object value) { return path .ToCommand() .Opt(option, value); } public static SysCommand Arg(this SysPath path, Object argument) { return path .ToCommand() .Arg(argument); } }