2018-01-17 19:26:52 -08:00
|
|
|
// 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.Utils;
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Tools.Test.Utilities
|
|
|
|
{
|
2018-03-21 19:12:32 -07:00
|
|
|
public sealed class ToolCommand : DotnetCommand
|
2018-01-17 19:26:52 -08:00
|
|
|
{
|
2023-11-10 17:08:10 -08:00
|
|
|
public override CommandResult Execute(string args = "") => base.Execute($"tool {args}");
|
2018-01-17 19:26:52 -08:00
|
|
|
|
2023-11-10 17:08:10 -08:00
|
|
|
public override CommandResult ExecuteWithCapturedOutput(string args = "") => base.ExecuteWithCapturedOutput($"tool {args}");
|
2018-01-17 19:26:52 -08:00
|
|
|
}
|
|
|
|
}
|