1
0
Fork 0
qmk_firmware/lib/python/qmk/cli
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
..
json Make generating keymap.c from JSON more reliable 2019-11-12 20:37:28 -08:00
list Small CLI cleanups 2019-11-12 18:41:38 -08:00
new Use keymap instead of username variable for qmk new_keymap (#6885) 2019-10-05 23:41:15 -07:00
__init__.py Add CLI command for flashing a keyboard 2019-11-15 23:06:07 -08:00
cformat.py Add support for newer versions of clang-format, if installed 2019-11-12 18:39:42 -08:00
compile.py Add CLI command for flashing a keyboard 2019-11-15 23:06:07 -08:00
config.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
docs.py [CLI] qmk docs graceful shutdown on Ctrl+C (#6989) 2019-10-11 21:41:58 -07:00
doctor.py When checking program returncodes treat both 0 and 1 as installed 2019-11-12 18:40:24 -08:00
flash.py Add CLI command for flashing a keyboard 2019-11-15 23:06:07 -08:00
hello.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
kle2json.py format code according to conventions [skip ci] 2019-11-13 05:24:56 +00:00
pyformat.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
pytest.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00