* 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 <[email protected]> * 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 <[email protected]> * more uniform date handling * make flake8 happy * Update lib/python/qmk/decorators.py Co-authored-by: Erovia <[email protected]> Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Erovia <[email protected]>
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)
|