1
0
Fork 0
qmk_firmware/lib/python/qmk/tests
jorgemanzo 897888db41 Add CLI command for flashing a keyboard
A new CLI subcommand was added, flash, which behaves very similar to the already present compile CLI comamnd, but with the added ability to target a bootloader. The command is used like so: qmk flash [-h] [-b] [-kb KEYBOARD] [-km KEYMAP] [-bl BOOTLOADER] [filename].

A -kb <keyboard> and -km <keymap> is expected, or a configurator export JSON filename. A bootloader can be specified using -bl <target>, and if left unspecified, the target is assumed to be :flash. -bl can be used to list the available bootloaders.

If -km <keymap> is provided, but no -kb <keyboard>, then a message is printed suggesting the user to run qmk list_keyboards.
2019-11-15 23:06:07 -08:00
..
__init__.py Setup a python test framework 2019-09-07 07:58:41 -07:00
attrdict.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
kle.txt Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
onekey_export.json Setup a python test framework 2019-09-07 07:58:41 -07:00
test_cli_commands.py Add CLI command for flashing a keyboard 2019-11-15 23:06:07 -08:00
test_qmk_errors.py run yapf on the code 2019-09-07 07:58:41 -07:00
test_qmk_keymap.py run yapf on the code 2019-09-07 07:58:41 -07:00
test_qmk_path.py Small CLI cleanups 2019-11-12 18:41:38 -08:00