syncthingmanager icon indicating copy to clipboard operation
syncthingmanager copied to clipboard

added json output with tests

Open oneyb opened this issue 7 years ago • 0 comments

Hi Samuel,

I wanted JSON output for ansible. Therefore, I added json output options. Hopefully this is helpful. I also included tests, but I am not familiar with pytest, and they failed.

For a quick view:

virtualenv -p python3 venv
source venv/bin/activate
pip install git+https://github.com/oneyb/syncthingmanager
stman folder info default -j
stman device list -j
stman folder list -j
stman folder list -h
pytest

It's more useful to me now. Thanks for the library whatever you decide :+1: Cheers, Brian

oneyb avatar Jul 24 '18 20:07 oneyb