Skip to content

Commit

Permalink
adds formatsPath to query_cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Aug 21, 2024
1 parent 6af8419 commit e0d4d4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lodstorage/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.12.0"
__version__ = "0.12.1"
6 changes: 6 additions & 0 deletions lodstorage/query_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ def add_args(cls, parser: ArgumentParser):
default=None,
help="path to yaml file to configure endpoints to use for queries",
)
parser.add_argument(
"-fp",
"--formatsPath",
default=ValueFormatter.formatsPath,
help="path to yaml file to configure formats to use for query result documentation",
)
parser.add_argument(
"-li",
"--list",
Expand Down
6 changes: 0 additions & 6 deletions lodstorage/querymain.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,6 @@ def main(argv=None, lang=None): # IGNORE:C0111
)
QueryCmd.add_args(parser)

parser.add_argument(
"-fp",
"--formatsPath",
default=ValueFormatter.formatsPath,
help="path to yaml file to configure formats to use for query result documentation",
)
parser.add_argument(
"-en",
"--endpointName",
Expand Down

0 comments on commit e0d4d4b

Please sign in to comment.