INNER CODE UNIT · C#
Program
Jpinsoft/DeepSound · DeepSoundConsole/Program.cs:16
internal class Program
{
static int Main(string[] args)
{
ConsoleWriter.WriteLineAppInfo();
Environment.ExitCode = (int)ExitCodeEnum.Success;
Environment.CurrentDirectory = AppDomain.CurrentDomain.BaseDirectory;
try
{
RootCommand rootCommand = new RootCommand();
rootCommand.SetDescription();
rootCommand.SetOptions();
rootCommand.SetDeepSoundConsoleAction();
ParseResult parseResult = rootCommand.Parse(args);
// Invoke the command action directly without using the default exception handler, so we can catch exceptions and log them properly