public static void DockerComposeRun(this ICakeContext context, DockerComposeRunSettings settings, string service, string command, params string[] args)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (string.IsNullOrEmpty(service))
            {
                throw new ArgumentNullException(nameof(service));
            }
            var           runner    = new GenericDockerComposeRunner <DockerComposeRunSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Globber);
            List <string> arguments = new List <string>();

            arguments.Add(service);
            if (command != null)
            {
                arguments.Add(command);
            }
            arguments.AddRange(args);
            runner.Run("run", settings ?? new DockerComposeRunSettings(), arguments.ToArray());
        }
 public static void DockerComposeRun(this ICakeContext context, DockerComposeRunSettings settings, string service, params string[] args)
 {
     DockerComposeRun(context, settings, service, command: null, args: args);
 }