pycares
pycares copied to clipboard
CLI doesn't work
The 5.0.0 updated callback usage. It became a positional argument, but the usage in the CLI tool wasn't changed
Can you elaborate?
Using python -m pycares google.com leads to
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "$SRC_DIR_run_env/lib/python3.11/site-packages/pycares/__main__.py", line 65, in <module>
channel.query(hostname, query_type, cb)
Thanks, I'll take a look!