public static void Debootstrap(this ICakeContext ctx, string suite, string target, string mirror = null,
                                       string script = null, DebootstrapSettings settings = null)
        {
            if (ctx.Environment.Platform.Family != PlatformFamily.Linux)
            {
                throw new NotSupportedException("Debootstrap is only supported on linux");
            }
            DebootstrapRunner runner = new DebootstrapRunner(ctx);

            runner.RunTool(suite, target, mirror, script, settings);
        }
        internal static ProcessArgumentBuilder BuildForLinux(this DebootstrapSettings settings, string suite,
                                                             string target, string mirror, string script)
        {
            ProcessArgumentBuilder args = new ProcessArgumentBuilder();

            args = settings.BuildLinuxArguments(args);
            args.AppendQuoted(suite);
            args.AppendQuoted(target);

            if (!string.IsNullOrWhiteSpace(mirror))
            {
                args.AppendQuoted(mirror);
            }

            if (!string.IsNullOrWhiteSpace(script))
            {
                args.AppendQuoted(script);
            }

            return(args);
        }