/// <summary>
 /// Validates user input and parse it into instances of UberVersion class.
 /// </summary>
 /// <param name="from">Version lower boundary.</param>
 /// <param name="to">Version uppper boundary.</param>
 private void ParseUserInput(string from, string to)
 {
     if (UserInpuCouldBeParsed(from, to))
     {
         fromVersion = new UberVersion(from);
         toVersion = new UberVersion(to);
         CheckEnteredVersions();
     }
 }
 /// <summary>
 /// Checks if selected directory is from valid branch.
 /// </summary>
 /// <param name="dirName">Directory name.</param>
 /// <returns></returns>
 private bool IsValidBranch(string dirName)
 {
     if (UberVersion.CouldBeParsed(dirName))
     {
         var dirVer = new UberVersion(dirName);
         return dirVer.IsItProd() == fromVersion.IsItProd() == toVersion.IsItProd();
     }
     return false;
 }