public static DockerComposeUpRequest ToDockerComposeUpRequest(this DockerComposeVerb verb) { return(new DockerComposeUpRequest { Build = verb.Build, FileName = verb.FileName, Name = verb.Name }); }
public static DockerComposeSuperRequest ToDockerComposeSuperRequest(this DockerComposeVerb verb) { return(new DockerComposeSuperRequest { Arguments = verb.Super.Split(" ").Where(s => !string.IsNullOrEmpty(s) && !string.IsNullOrWhiteSpace(s)), FileName = verb.FileName, Name = verb.Name }); }