]> apps.delaporte.us Git - dotfiles.git/commitdiff
Cleanup
authorEdward Delaporte <edward@delaporte.us>
Wed, 16 Oct 2024 00:10:17 +0000 (19:10 -0500)
committerEdward Delaporte <edward@delaporte.us>
Wed, 16 Oct 2024 00:10:17 +0000 (19:10 -0500)
invoke/minetest/tasks.py

index 10abbb4cae3c1203e27c09edb869aea26775f0dd..ac5633bf24fec8f7de8564fc0f7f83ef4a8c32dd 100644 (file)
@@ -64,11 +64,16 @@ def status(c):
     print(f"+ ls ---")
     c.run(f"ls -ald {link_to} | grep minetest")
 
     print(f"+ ls ---")
     c.run(f"ls -ald {link_to} | grep minetest")
 
+
 @task
 @task
-def world_list(c):
-    print(f"+ List Worlds ---")
+def games(c):
+    print(f"+ List Games ---")
     cmd = f"{run_mt} --gameid list"
     c.run(cmd)
     cmd = f"{run_mt} --gameid list"
     c.run(cmd)
+
+@task
+def worlds(c):
+    print(f"+ List Worlds ---")
     cmd = f"{run_mt} --gameid minetest --worldlist path"
     c.run(cmd)
 
     cmd = f"{run_mt} --gameid minetest --worldlist path"
     c.run(cmd)