Begin commandline arguments

This commit is contained in:
ProfessionalUwU 2023-05-27 18:32:46 +02:00
parent 22ffc338e7
commit d4dc405b2b
Signed by: ProfessionalUwU
GPG Key ID: 013AD77C0A9DD3F2

View File

@ -1,2 +1,16 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
public class Program {
static void Main(string[] args) {
if (args.Length == 0) {
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Please specify an option.");
Console.ResetColor();
} else {
switch(args[0]) {
case "":
break;
default:
break;
}
}
}
}