summaryrefslogtreecommitdiff
path: root/mongodb/prefab.py
diff options
context:
space:
mode:
authorjc0b <j@jc0b.computer>2020-06-25 21:02:42 +0200
committerjc0b <j@jc0b.computer>2020-06-25 21:02:42 +0200
commit7932423bfeda0b4613e920cdab1950b8935bd274 (patch)
treecedf450114fcfc08794cc0ae1aed167b9c066cc0 /mongodb/prefab.py
parent6f6c6fd0634dbe65f77aedcf77df88a7fa57c5fb (diff)
Updated help test for the prototype
Diffstat (limited to 'mongodb/prefab.py')
-rwxr-xr-xmongodb/prefab.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mongodb/prefab.py b/mongodb/prefab.py
index 1ce355fd..124f45e3 100755
--- a/mongodb/prefab.py
+++ b/mongodb/prefab.py
@@ -11,9 +11,11 @@ import sys
import prefabs
def usage():
- print("Usage: prefab add <prefab>: imports a prefab from YML or JSON")
+ print("Usage: prefab add <prefab>: imports a prefab from JSON")
print(" list: lists all (public) prefabs")
print(" export <prefab> [json|yaml]: exports the specified prefab to the specified filetype (with JSON used by default)")
+ print(" clone <prefab> [new prefab name]: clones the specified prefab, giving the new prefab a name if specified")
+ print(" remove <prefab>: removes the specified prefab from the database")
def interactive(): #interactive CLI mode: recommended
print("OpenDC Prefab CLI")