private static void DownloadImageFile(string url, string folder) { Console.Write("folder " + Prints.Arrow()); folder = Console.ReadLine(); Downloader.DownloadImage(url, folder); }
public static void DownloadMenu() { Console.ForegroundColor = ConsoleColor.DarkMagenta; Console.WriteLine("Select what you want to download:"); Console.ResetColor(); Console.WriteLine("1 - Video/Audio"); Console.WriteLine("2 - Image"); Console.Write(Prints.Arrow()); }
static void Main(string[] args) { while (true) { Console.WriteLine(Prints.Blank()); Console.WriteLine(Prints.WelcomeMessage()); Console.WriteLine(Prints.WelcomeMessageHelp()); Console.WriteLine(Prints.Blank()); Console.Write(Prints.Arrow()); string userInput = Console.ReadLine(); UserCommands.ReturnUserCommandInformation(userInput); } }
public static void SetURLPath() { userChoice: Console.WriteLine(Prints.Blank()); Console.Write(Strings.PATH + " " + Prints.Arrow()); string path = Console.ReadLine(); if (!Validator.IsValidDefaultPathRequest(path)) { Prints.InvalidDefaultPath(); goto userChoice; } DefaultFolder.CreateFile(path); Prints.Done(); }