mirror of
https://github.com/aphrody-labs/NuGet.Client.git
synced 2026-10-17 12:45:02 +00:00
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.
17 lines
339 B
C#
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!");
|
|
}
|
|
}
|
|
}
|