]> us-delaporte.pagekite.me Git - matrix-shop-bot.git/blobdiff - matrix_shop_bot/tasks.py
Add rename commands
[matrix-shop-bot.git] / matrix_shop_bot / tasks.py
index 61bd5b787b7589922a3eed0d6e96f64142e2df33..580eeba57fb3e8c54a9b8faf96387b6d1cdc8ddb 100644 (file)
@@ -84,6 +84,14 @@ def list_unsorted(c):
         print(item)
 
 
         print(item)
 
 
+@task
+def rename_item(c, old, new):
+    Data().rename_item(old, new)
+
+@task
+def rename_store(c, old, new):
+    Data().rename_store(old, new)
+
 @task
 def remove_item(c, item_id):
     Data().remove_item(item_id)
 @task
 def remove_item(c, item_id):
     Data().remove_item(item_id)