frawau / aiozeroconf

An asyncio/pure python implementation of multicast DNS service discovery
GNU Lesser General Public License v2.1
25 stars 6 forks source link

Improve CLI #8

Closed RouquinBlanc closed 5 years ago

RouquinBlanc commented 5 years ago

Most of the time services are local domain. And even on local domain, I've not seen many _udp services.

Your CLI command is awesome, and in some aspects works better than the default mac OS CLI 👍

With this changes, it will be more user friendly to use:

# The previous way of using (still works)
python -m aiozeroconf -s _ssh._tcp.local.

# With direct command line
aiozeroconf -s _ssh._tcp.local.

# Then assuming local domain
aiozeroconf -s _ssh._tcp

# And even assuming tcp
aiozeroconf -s _ssh
frawau commented 5 years ago

The "Automatic completion" isn't really necessary since the "find" option exists. But ok.

frawau commented 5 years ago

I forgot... Thanks ;)