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

This commit is contained in:
NanamiAdmin committed 2026-08-19 20:02:18 +08:00
1 parent 5689c942d2
commit 935ea24d54
4 files changed
+53 -33

No files matched your search

+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":