refactor: remove old initLogCmd and integrate new log command structure

Remove the old initLogCmd function from commands.go and update cli.go
to use the new InitLogCmd function from commands_log.go. Complete
the log command refactoring by adding the missing InitLogCmd function
with proper command structure and error handling.
This commit is contained in:
Cuong Manh Le
2025-07-28 18:35:39 +07:00
committed by Cuong Manh Le
parent d81eef9585
commit aa8af67365
3 changed files with 45 additions and 128 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ func initCLI() {
initServicesCmd(startCmd, stopCmd, restartCmd, reloadCmd, statusCmd, uninstallCmd, interfacesCmd)
initClientsCmd()
initUpgradeCmd()
initLogCmd()
InitLogCmd()
}
// isMobile reports whether the current OS is a mobile platform.