Commit Graph

5 Commits (3db41817e0aa72e1406e29a4fb5f82db0c2a6cf1)

Author SHA1 Message Date
Erovia b6e23f974b
Update the flash cli command to use the user config (#8125) 5 years ago
Zach White 294caf1ff1 Also fix flash 6 years ago
skullydazed f7bdc54c69
Add flake8 to our test suite and fix all errors (#7379)
* Add flake8 to our test suite and fix all errors

* Add some documentation
6 years ago
QMK Bot 7891de7f6d format code according to conventions [skip ci] 6 years ago
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.
6 years ago