// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using Microsoft.DotNet.Cli; using Microsoft.DotNet.Tools.Add.ProjectToProjectReference; using Microsoft.DotNet.Tools.Add.ProjectToSolution; namespace Microsoft.DotNet.Tools.Add { public class AddCommand : DotNetTopLevelCommandBase { protected override string CommandName => "add"; protected override string FullCommandNameLocalized => LocalizableStrings.NetAddCommand; internal override List> SubCommands => new List> { AddProjectToSolutionCommand.Create, AddProjectToProjectReferenceCommand.Create, }; public static int Run(string[] args) { var command = new AddCommand(); return command.RunCommand(args); } } }