Mercurial > wow > breuesk
diff Core.lua @ 66:331b5e176d79
Convenience command to build and populate a brand new list
author | John@Doomsday |
---|---|
date | Tue, 27 Mar 2012 10:18:55 -0400 |
parents | 94ae80d58903 |
children | a177b863ed6c |
line wrap: on
line diff
--- a/Core.lua Mon Mar 26 23:47:24 2012 -0400 +++ b/Core.lua Tue Mar 27 10:18:55 2012 -0400 @@ -52,7 +52,7 @@ function OnEnable() CreateWorkingStateFromChanges(db.profile.changes) - CreateGUI() + --CreateGUI() end function HandleCommand(paramIn) @@ -171,6 +171,14 @@ return end RenameList(arg1,arg2) + elseif action == "generate" then + if not arg1 then + PrintTable(param) + return + end + PersonList:AddMissing() + CreateList(arg1) + PopulateListRandom(arg1) else CreateGUI() end