mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-30 08:35:45 +02:00
Implemented list command + task. colorjson output disabled for this command (bug detected)
This commit is contained in:
@@ -161,6 +161,12 @@ func ExecuteTask(task Task) Task {
|
||||
task.Result = sql.NullString{String: taskResult, Valid: true}
|
||||
}
|
||||
|
||||
case "list_edgeapps":
|
||||
|
||||
log.Println("Fetching current status on Edgeapps...")
|
||||
taskResult := taskGetEdgeApps()
|
||||
task.Result = sql.NullString{String: taskResult, Valid: true}
|
||||
|
||||
case "install_edgeapp":
|
||||
|
||||
log.Println("Installing EdgeApp...")
|
||||
|
||||
Reference in New Issue
Block a user