mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-27 13:40:14 +00:00
0c42f91f4c
* add new qmk generate-api command, to generate a complete set of API data. * Generate api data and push it to the keyboard repo * fix typo * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * fixup api workflow * remove file-changes-action * use a more mainstream github action * fix yaml error * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * more uniform date handling * make flake8 happy * Update lib/python/qmk/decorators.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
14 lines
339 B
Python
14 lines
339 B
Python
"""List the keyboards currently defined within QMK
|
|
"""
|
|
from milc import cli
|
|
|
|
import qmk.keyboard
|
|
|
|
|
|
@cli.subcommand("List the keyboards currently defined within QMK")
|
|
def list_keyboards(cli):
|
|
"""List the keyboards currently defined within QMK
|
|
"""
|
|
for keyboard_name in qmk.keyboard.list_keyboards():
|
|
print(keyboard_name)
|