keyboards.py (339B)
1 """List the keyboards currently defined within QMK 2 """ 3 from milc import cli 4 5 import qmk.keyboard 6 7 8 @cli.subcommand("List the keyboards currently defined within QMK") 9 def list_keyboards(cli): 10 """List the keyboards currently defined within QMK 11 """ 12 for keyboard_name in qmk.keyboard.list_keyboards(): 13 print(keyboard_name)