Files
NuGet.Client/test/TestExtensions/SampleCommandLineExtensions/HelloCommand.cs
T
Justin Emgarten 7c5404ba65 Merging test utilities into Test.Utility
Merging all test utilities together. Test.Utility is now a common layer that all tests can use that sits between the product projects and test projects.
2017-03-30 18:03:12 -07:00

17 lines
339 B
C#

using System.ComponentModel.Composition;
using NuGet;
using NuGet.CommandLine;
namespace SampleCommandLineExtensions
{
[Export]
[Command("hello", "Says \"Hello!\"")]
public class HelloCommand : Command
{
public override void ExecuteCommand()
{
Console.WriteLine("Hello!");
}
}
}