Skip to content

Commit

Permalink
xpath:add a docstring at the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
mokko committed Jun 20, 2024
1 parent fe3c2cc commit 617dccf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zml2lido/xpathTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
# NSMAP is already present in linkChecker TODO
NSMAP = {"l": "http://www.lido-schema.org"}

"""
Simply commandline tool that applies xpath to one or multiple files (using lxml internally)
Please be aware that the -f file output does NOT aim to produce valid XML!
"""


def xpathTool(
*, Input: str, xpath: str, file: bool = False, globbing: bool = False
Expand Down

0 comments on commit 617dccf

Please sign in to comment.