qmk_firmware/lib/python/qmk/cli/list/keyboards.py
2025-05-22 21:24:40 +01:00

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)