summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-02 16:54:46 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-02 16:54:46 +0100
commit87841177a29211c70130b177e4c6f42a3b9cd5ca (patch)
tree1a38ab16465824bec94ca415b6403e3e620b24b2 /lib
parenta6fec195d306c19d672fd112b5bef188bec5a1aa (diff)
... add cli.py with --load-json definition
Diffstat (limited to 'lib')
-rw-r--r--lib/cli.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cli.py b/lib/cli.py
index abeb3d3..7997482 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -450,6 +450,12 @@ def add_standard_arguments(parser):
help="Export model in JSON format to FILENAME",
)
parser.add_argument(
+ "--load-json",
+ metavar="FILENAME",
+ type=str,
+ help="Load model in JSON format from FILENAME",
+ )
+ parser.add_argument(
"--dref-precision",
metavar="NDIG",
type=int,