mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-18 09:57:40 +03:00
its not globbed
This commit is contained in:
parent
2281124807
commit
ce8fea9f1a
@ -83,7 +83,7 @@ def scan_directory(path: pathlib.Path, skip: list[pathlib.Path] = None) -> dict[
|
|||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("--directory", help="Directory to search from", default=".")
|
parser.add_argument("--directory", help="Directory to search from", default=".")
|
||||||
parser.add_argument("--ignore", action='append', help="directories to ignore (globbed)", default=["venv", ".git"])
|
parser.add_argument("--ignore", action='append', help="directories to ignore", default=["venv", ".git"])
|
||||||
group = parser.add_mutually_exclusive_group()
|
group = parser.add_mutually_exclusive_group()
|
||||||
group.add_argument('--json', action='store_true', help='JSON output')
|
group.add_argument('--json', action='store_true', help='JSON output')
|
||||||
group.add_argument('--lang', action='store_true', help='lang file outpot')
|
group.add_argument('--lang', action='store_true', help='lang file outpot')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user