public static Repository Clone(CloneCommand command) { command.Execute(); return command.Repository; }
public static void Clone(string fromUrl, DirectoryInfo toPath, bool isQuiet) { CloneCommand cmd = new CloneCommand(); if (cmd != null) { cmd.Path = fromUrl; cmd.Directory = toPath.FullName; cmd.Quiet = isQuiet; cmd.Execute(); } }
public static void Clone(CloneCommand command) { command.Execute(); }