2015-12-15 01:39:29 +00: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;
|
|
|
|
|
|
2015-12-31 01:02:59 +00:00
|
|
|
|
namespace Microsoft.DotNet.Tools.Test.Utilities
|
2015-12-15 01:39:29 +00:00
|
|
|
|
{
|
|
|
|
|
public sealed class RestoreCommand : TestCommand
|
|
|
|
|
{
|
|
|
|
|
public RestoreCommand()
|
|
|
|
|
: base("dotnet")
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override CommandResult Execute(string args="")
|
|
|
|
|
{
|
2016-04-08 01:06:09 +00:00
|
|
|
|
args = $"restore {args}";
|
|
|
|
|
|
2015-12-15 01:39:29 +00:00
|
|
|
|
return base.Execute(args);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|