应文浩wenhao.ying@xiaobao100.com e25ac591a7 init easy-code
2026-04-06 07:24:24 +08:00

14 lines
527 B
C#

using FreeCode.Core.Models;
namespace FreeCode.Commands;
public sealed class ClearCommand : CommandBase
{
public override string Name => "clear";
public override string Description => "Clear the current terminal view.";
public override FreeCode.Core.Enums.CommandCategory Category => FreeCode.Core.Enums.CommandCategory.Local;
public override Task<CommandResult> ExecuteAsync(CommandContext context, string? args = null, CancellationToken ct = default)
=> Task.FromResult(new CommandResult(true));
}