29 lines
No EOL
708 B
C#
29 lines
No EOL
708 B
C#
using System;
|
|
using TeaBox.Bootstrap;
|
|
using TeaBox.Macros;
|
|
using TeaBox.ObjectModel;
|
|
|
|
namespace Shelver
|
|
{
|
|
public static class Program
|
|
{
|
|
public static int Main(string[] arguments)
|
|
{
|
|
return new ShelverStartup(arguments).Start();
|
|
}
|
|
}
|
|
|
|
internal class ShelverStartup : ApplicationStartup
|
|
{
|
|
public ShelverStartup(string[] arguments)
|
|
: base(arguments, "Shelver", RuntimeMode.Normal)
|
|
{
|
|
}
|
|
|
|
protected override void OnStarting(out int exitCode)
|
|
{
|
|
base.OnStarting(out exitCode);
|
|
exitCode = ConsoleMacroRunner.RunFromCommandlineArguments(Application.Main.CreateLogger());
|
|
}
|
|
}
|
|
} |