Add project files.
This commit is contained in:
32
AutomatedROMTools-CLI/Program.cs
Normal file
32
AutomatedROMTools-CLI/Program.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AutomatedROMTools
|
||||
{
|
||||
/// <summary>
|
||||
/// The Main Program Class.
|
||||
/// </summary>
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// Create a new program object.
|
||||
AutomatedROMTools ART = new AutomatedROMTools();
|
||||
|
||||
// Input the variables passed from the command line arguments.
|
||||
ART.SetVariablesFromCLI(args);
|
||||
|
||||
// Print the version.
|
||||
ART.PrintVersion();
|
||||
|
||||
// Process the command switch.
|
||||
ART.ProcessCommandSwitch();
|
||||
|
||||
// Output the log to a text file.
|
||||
ART.SaveLog();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user