aboutsummaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/flash.py
AgeCommit message (Collapse)Author
2020-02-08Update the flash cli command to use the user config (#8125)Gravatar Erovia
2019-12-08Also fix flashGravatar Zach White
2019-11-20Add flake8 to our test suite and fix all errors (#7379)Gravatar skullydazed
* Add flake8 to our test suite and fix all errors * Add some documentation
2019-11-16format code according to conventions [skip ci]Gravatar QMK Bot
2019-11-15Add CLI command for flashing a keyboardGravatar jorgemanzo
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.