// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem;
usingSystem.CommandLine;
usingSystem.CommandLine.Builder;
usingSystem.CommandLine.Invocation;
usingSystem.IO;
usingSystem.Threading.Tasks;
namespaceMicrosoft.CodeAnalysis.Lsif.Generator
{
internalstaticclassProgram
{
publicstaticvoidMain(string[]args)
publicstaticTaskMain(string[]args)
{
vargenerateCommand=newRootCommand("generates an LSIF file")
{
newOption("--output","file to write the LSIF output to, instead of the console"){Argument=newArgument<string?>(defaultValue:()=>null).LegalFilePathsOnly()},
newOption("--log","file to write a log to"){Argument=newArgument<string?>(defaultValue:()=>null).LegalFilePathsOnly()}