
dotnet install tool -> dotnet tool install dotnet uninstall tool -> dotnet tool uninstall dotnet list tool -> dotnet tool list dotnet update tool -> dotnet tool update
24 lines
856 B
C#
24 lines
856 B
C#
// 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 Microsoft.DotNet.Cli.CommandLine;
|
|
using LocalizableStrings = Microsoft.DotNet.Tools.Tool.LocalizableStrings;
|
|
|
|
namespace Microsoft.DotNet.Cli
|
|
{
|
|
internal static class ToolCommandParser
|
|
{
|
|
public static Command Tool()
|
|
{
|
|
return Create.Command(
|
|
"tool",
|
|
LocalizableStrings.CommandDescription,
|
|
Accept.NoArguments(),
|
|
CommonOptions.HelpOption(),
|
|
ToolInstallCommandParser.ToolInstall(),
|
|
ToolUninstallCommandParser.ToolUninstall(),
|
|
ToolUpdateCommandParser.ToolUpdate(),
|
|
ToolListCommandParser.ToolList());
|
|
}
|
|
}
|
|
}
|