22 lines
667 B
C#
22 lines
667 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using System;
|
|
using System.Threading;
|
|
|
|
namespace Microsoft.AspNetCore.Razor.TagHelperTool
|
|
{
|
|
internal static class Program
|
|
{
|
|
public static int Main(string[] args)
|
|
{
|
|
DebugMode.HandleDebugSwitch(ref args);
|
|
|
|
var cancel = new CancellationTokenSource();
|
|
Console.CancelKeyPress += (sender, e) => { cancel.Cancel(); };
|
|
|
|
var application = new Application(cancel.Token);
|
|
return application.Execute(args);
|
|
}
|
|
}
|
|
} |