feat(controller): enhance command handlers to accept source parameter for improved message formatting
This commit is contained in:
1 parent
5689c942d2
commit
935ea24d54
4 files changed
+53
-33
No files matched your search
@@ -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":
|
||||
|
||||
Reference in new issue
Block a user