Ejemplo n.º 1
0
        private static Core.GitUpdater ConsoleInitGitUpdater()
        {
            string remoteUrl = "";
            string username  = "";
            string password  = "";
            string email     = "";

            Console.WriteLine("Lets setup.");
            Console.WriteLine("What is the remote url?");
            remoteUrl = Console.ReadLine();
            Console.WriteLine("What is the username?");
            username = Console.ReadLine();
            Console.WriteLine("What is the password?");
            password = Console.ReadLine();
            Console.WriteLine("What is the associated email address?");
            email = Console.ReadLine();


            Core.GitUpdater updater = new Core.GitUpdater(remoteUrl, username, password, email);
            return(updater);
        }
Ejemplo n.º 2
0
 private static Core.GitUpdater ArgsInitGitUpdater(string[] args)
 {
     Core.GitUpdater updater = new Core.GitUpdater(args[0], args[1], args[2], args[3]);
     return(updater);
 }