PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /proc/self/root/proc/thread-self/root/opt/hc_python/lib64/python3.12/site-packages/identify/ |
| Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 66.29.132.192 |
| Dir : //proc/self/root/proc/thread-self/root/opt/hc_python/lib64/python3.12/site-packages/identify/cli.py |
from __future__ import annotations
import argparse
import json
from collections.abc import Sequence
from identify import identify
def main(argv: Sequence[str] | None = None) -> int:
parser = argparse.ArgumentParser()
parser.add_argument('--filename-only', action='store_true')
parser.add_argument('path')
args = parser.parse_args(argv)
if args.filename_only:
func = identify.tags_from_filename
else:
func = identify.tags_from_path
try:
tags = sorted(func(args.path))
except ValueError as e:
print(e)
return 1
if not tags:
return 1
else:
print(json.dumps(tags))
return 0
if __name__ == '__main__':
raise SystemExit(main())