diff --git a/master.py b/master.py index 3153ef6..a16fde2 100755 --- a/master.py +++ b/master.py @@ -28,6 +28,7 @@ Listing commands: tags Show tags Install and update commands: + update-all Create or update all assets update-groups Create or update groups from app/data/ update-forums Create or update the forum tree from app/data/ update-trophies Create or update trophies @@ -69,6 +70,14 @@ def tags(*args): # Install and update commands # +def update_all(): + update_groups() + update_forums() + update_forums() + update_trophies() + update_tags() + generate_trophy_icons() + def update_groups(): existing = Group.query.all() @@ -350,6 +359,7 @@ commands = { "forums": forums, "trophies": trophies, "tags": tags, + "update-all": update_all, "update-groups": update_groups, "update-forums": update_forums, "update-trophies": update_trophies,