feat(controller): enhance command handlers to accept source parameter for improved message formatting

This commit is contained in:
2026-08-19 20:02:18 +08:00
parent 5689c942d2
commit 935ea24d54
4 changed files with 53 additions and 33 deletions
+2 -2
View File
@@ -51,9 +51,9 @@ func (m *Manager) RouteCommand(cmd Command) (string, error) {
}
switch cmd.Command {
case "help":
return handleHelp()
return handleHelp(cmd)
case "list":
return handleList()
return handleList(cmd)
case "status":
return handleStatus(cmd)
case "shutdown":