qmk_firmware/lib/python/qmk/cli
Zach White 7a25dcacff
New command: qmk console (#12828)
* stash poc

* stash

* tidy up implementation

* Tidy up slightly for review

* Tidy up slightly for review

* Bodge environment to make tests pass

* Refactor away from asyncio due to windows issues

* Filter devices

* align vid/pid printing

* Add hidapi to the installers

* start preparing for multiple hid_listeners

* udev rules for hid_listen

* refactor to move closer to end state

* very basic implementation of the threaded model

* refactor how vid/pid/index are supplied and parsed

* windows improvements

* read the report directly when usage page isn't available

* add per-device colors, the choice to show names or numbers, and refactor

* add timestamps

* Add support for showing bootloaders

* tweak the color for bootloaders

* Align bootloader disconnect with connect color

* add support for showing all bootloaders

* fix the pyusb check

* tweaks

* fix exception

* hide a stack trace behind -v

* add --no-bootloaders option

* add documentation for qmk console

* Apply suggestions from code review

Co-authored-by: Ryan <fauxpark@gmail.com>

* pyformat

* clean up and flesh out KNOWN_BOOTLOADERS

Co-authored-by: zvecr <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-08 20:56:07 -07:00
..
chibios qmk chibios-confmigrate: Make -i and -r required (#12515) 2021-04-08 14:16:15 +10:00
format Add a qmk format-json command that will format JSON files (#12372) 2021-03-25 22:38:10 +11:00
generate Fix unused import in recent generation code (#12781) 2021-05-02 08:43:40 -07:00
list Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
new Shim cli to new keyboard script (#12780) 2021-05-02 16:59:10 +01:00
__init__.py New command: qmk console (#12828) 2021-05-08 20:56:07 -07:00
c2json.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
cformat.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
clean.py CLI: Add qmk clean (#10785) 2020-11-04 19:18:47 +00:00
compile.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
config.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
console.py New command: qmk console (#12828) 2021-05-08 20:56:07 -07:00
docs.py Don't hide for devs... 2020-04-08 09:31:14 -07:00
doctor.py qmk doctor: Fix WSL /mnt check (#12466) 2021-04-02 22:24:09 +01:00
fileformat.py qmk fileformat: only print complaints, and fix some of them (#11278) 2020-12-24 02:36:44 +00:00
flash.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
hello.py CLI: Add development mode support 2020-04-08 09:31:14 -07:00
info.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
json2c.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
kle2json.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
lint.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
pyformat.py CLI: Add development mode support 2020-04-08 09:31:14 -07:00
pytest.py CLI: Add development mode support 2020-04-08 09:31:14 -07:00