mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-20 00:55:48 +08:00
Move Spectre.Console.Cli to it's own package
This commit is contained in:
committed by
Patrik Svensson
parent
b600832e00
commit
36ca22ffac
10
test/Spectre.Console.Cli.Tests/Data/Commands/CatCommand.cs
Normal file
10
test/Spectre.Console.Cli.Tests/Data/Commands/CatCommand.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Spectre.Console.Tests.Data;
|
||||
|
||||
public class CatCommand : AnimalCommand<CatSettings>
|
||||
{
|
||||
public override int Execute(CommandContext context, CatSettings settings)
|
||||
{
|
||||
DumpSettings(context, settings);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user