Fixes to basic CLI dashboard
This commit is contained in:
parent
10810eeaa7
commit
6bc5f4077e
@ -14,9 +14,9 @@ modpol.dashboard = function(user)
|
|||||||
-- Org status
|
-- Org status
|
||||||
output = output .. "Orgs:\n" .. modpol.orgs.list_all()
|
output = output .. "Orgs:\n" .. modpol.orgs.list_all()
|
||||||
-- Process status (ongoing processes)
|
-- Process status (ongoing processes)
|
||||||
output = output .. "Processes:\n" .. table.concat(modpol.processes)
|
output = output .. "\nProcesses:\n" .. table.concat(modpol.processes)
|
||||||
-- Command list (should be redone to be org-specific)
|
-- Command list (should be redone to be org-specific)
|
||||||
output = output .. "Command list:\n"
|
output = output .. "\nCommand list:\n"
|
||||||
for key,value in pairs(modpol) do
|
for key,value in pairs(modpol) do
|
||||||
output = output .. "modpol." .. key .. " "
|
output = output .. "modpol." .. key .. " "
|
||||||
end
|
end
|
||||||
|
@ -4,7 +4,7 @@ modpol.orgs =
|
|||||||
array = {}
|
array = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- sets modpol.orgs as it's own fallback
|
-- sets modpol.orgs as its own fallback
|
||||||
modpol.orgs.__index = modpol.orgs
|
modpol.orgs.__index = modpol.orgs
|
||||||
|
|
||||||
-- ==================================================
|
-- ==================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user