Betree / magicblue

💡 Unofficial Python API to control Magic Blue bulbs over Bluetooth
MIT License
100 stars 23 forks source link

MagicBlue interactive shell enhancement with python-prompt-toolkit #36

Open Betree opened 7 years ago

Betree commented 7 years ago

Though the interactive shell is not the central part of this project, it's still useful for debugging or to quickly send commands.

Using python-prompt-toolkit could make it easier to use with features like auto-completion and commands history without putting too much effort into it.

Any contribution on this subject would be appreciated, maybe some of you don't want to see too many dependencies in this app ? Also if you have any experience using python-prompt-toolkit or a similar library feedbacks are welcome.

Off-topic Developing this feature could be a good introduction to later create an interactive shell to control HomeAssistant from the terminal.