14 lines
539 B
C#
14 lines
539 B
C#
using FreeCode.Core.Models;
|
|
|
|
namespace FreeCode.Commands;
|
|
|
|
public sealed class AgentsCommand : CommandBase
|
|
{
|
|
public override string Name => "agents";
|
|
public override string Description => "List available agents.";
|
|
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)
|
|
=> CommandExecutionHelper.ExecuteAsync(Name, context, args, ct);
|
|
}
|