v1.0.0 beta 13

This commit is contained in:
2026-03-12 14:15:42 +03:00
parent b1b0cbdfbd
commit 0574222608
7 changed files with 17 additions and 19 deletions

View File

@@ -172,7 +172,6 @@ func (p *Plugin[T]) AddCommand(command *Command[T]) *Plugin[T] {
// Returns the created command for further configuration.
func (p *Plugin[T]) NewCommand(exec CommandExecutor[T], command string, args ...CommandArg) *Command[T] {
cmd := NewCommand(exec, command, args...)
p.AddCommand(cmd)
return cmd
}