feat: add console command framework

This commit is contained in:
2026-08-22 19:39:17 +02:00
parent c95233b9f9
commit 9f742f396f
28 changed files with 282 additions and 0 deletions
@@ -0,0 +1,13 @@
using System.Collections.Generic;
using Game.Features.Console.Contracts;
namespace Game.Features.Console.Application.Commands;
public sealed class ClearCommand : ICommand
{
public string Name => "clear";
public string Description => "Clears the console output.";
public IReadOnlyList<CommandArgSpec> Args { get; } = new CommandArgsBuilder().Build();
public CommandResult Execute(CommandArgValues args) => CommandResult.Ok(clearOutput: true);
}