roncapat / WSD-python

Web Services for Devices (WSD) tools and utilities for cross platform support
GNU General Public License v3.0
32 stars 3 forks source link

Command-line Interface #1

Open tpreclik opened 5 years ago

tpreclik commented 5 years ago

I would like to test it but can only invest minimal effort. Can you provide a small code snippet for scanning? Or even better provide a simple command-line interface?

roncapat commented 5 years ago

Sorry for very late answer. If you look at wsd_scan__operations.py file, you can notice that it can be executed as main script, and this way the _demo function is called.

so python wsd_scan__operations.py will do the trick. Feel free to edit the _demo function.