dotnet-installer/src/dotnet/commands/dotnet-complete/ParseCommand.cs
2017-03-09 10:53:17 -08:00

23 lines
No EOL
500 B
C#

using System;
using System.Linq;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Cli
{
public class ParseCommand
{
public static int Run(string[] args)
{
DebugHelper.HandleDebugSwitch(ref args);
var resultOfParsingArg =
Parser.Instance.Parse(
args.Single());
Console.WriteLine(resultOfParsingArg.Diagram());
return 0;
}
}
}