public static ShellOutput AddFiles(string path, TFSAuthModel login) { try { string command = "tf add *.sql" + " /login:"******"," + login.Password + " /noprompt"; CommandHelper shell = new CommandHelper(); return(shell.ExecuteCommand(command, path)); } catch (Exception ex) { throw new Exception(ex.Message); } return(null); }
public static ShellOutput CheckIn(string comment, TFSAuthModel login) { try { string command = "tf checkin /comment:\"" + comment + "\" /login:"******"," + login.Password + " /noprompt"; CommandHelper shell = new CommandHelper(); return(shell.ExecuteCommand(command, null)); } catch (Exception ex) { throw new Exception(ex.Message); } return(null); }
public static ShellOutput GetLatest(string path, TFSAuthModel login) { try { string command = "tf get \"" + path + "\" /login:"******"," + login.Password + " /noprompt"; CommandHelper shell = new CommandHelper(); return(shell.ExecuteCommand(command, null)); } catch (Exception ex) { throw new Exception(ex.Message); } return(null); }
public static ShellOutput AddFiles(string path, TFSAuthModel login) { try { string command = "tf add *.sql" + " /login:"******"," + login.Password + " /noprompt"; CommandHelper shell = new CommandHelper(); return shell.ExecuteCommand(command, path); } catch (Exception ex) { throw new Exception(ex.Message); } return null; }
public static ShellOutput CheckIn(string comment,TFSAuthModel login) { try { string command = "tf checkin /comment:\"" + comment + "\" /login:"******"," + login.Password + " /noprompt"; CommandHelper shell = new CommandHelper(); return shell.ExecuteCommand(command, null); } catch (Exception ex) { throw new Exception(ex.Message); } return null; }
public static ShellOutput GetLatest(string path,TFSAuthModel login) { try { string command = "tf get \"" + path + "\" /login:"******"," + login.Password + " /noprompt"; CommandHelper shell = new CommandHelper(); return shell.ExecuteCommand(command,null); } catch (Exception ex) { throw new Exception(ex.Message); } return null; }