You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/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.
6 years ago
..
json Make generating keymap.c from JSON more reliable 6 years ago
list Small CLI cleanups 6 years ago
new Use `keymap` instead of `username` variable for `qmk new_keymap` (#6885) 6 years ago
__init__.py Add CLI command for flashing a keyboard 6 years ago
cformat.py Add support for newer versions of clang-format, if installed 6 years ago
compile.py Add CLI command for flashing a keyboard 6 years ago
config.py Small CLI cleanups 6 years ago
docs.py [CLI] `qmk docs` graceful shutdown on Ctrl+C (#6989) 6 years ago
doctor.py When checking program returncodes treat both 0 and 1 as installed 6 years ago
flash.py Add CLI command for flashing a keyboard 6 years ago
hello.py Configuration system for CLI (#6708) 6 years ago
kle2json.py format code according to conventions [skip ci] 6 years ago
pyformat.py Configuration system for CLI (#6708) 6 years ago
pytest.py Configuration system for CLI (#6708) 6 years ago