Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added wideqsh.py - a menu driven shell for wideq #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

krocans
Copy link
Contributor

@krocans krocans commented Aug 27, 2019

Created simple menu-driven shell for navigating/changing device settings.
Hope somebody will find it useful.

@sampsyo
Copy link
Owner

sampsyo commented Aug 28, 2019

Wow; that's cool! It would be great to avoid duplication of code between the current example script and this new, interactive one… maybe we should move some to a wideq.cli module, for example?

@krocans
Copy link
Contributor Author

krocans commented Aug 28, 2019

My vision also is to create some CLI which may be then called brom other programs/scripts or used interactively. Something like:

cli <device> - shows settings
cli <device> <setting> - shows 1 setting
cli <device> <setting> <value> - changes setting
cli (or cli -i) starts menu shell

Yes there is some copy-pasting from example.py :)
Unfortunately it's unpredictable when and how much time I will have for that so I've created pull request as-is to give you and community possibility to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants