eliminate the need for -kb all

This commit is contained in:
Zach White 2021-06-26 16:06:36 -07:00
parent 50fdb2a52c
commit d3ed6fa8a4
2 changed files with 14 additions and 0 deletions

View file

@ -1,5 +1,6 @@
"""Functions that help you work with QMK keymaps.
"""
from functools import lru_cache
import json
import sys
from pathlib import Path
@ -306,6 +307,7 @@ def locate_keymap(keyboard, keymap):
return community_layout / 'keymap.c'
@lru_cache()
def list_keymaps(keyboard, c=True, json=True, additional_files=None, fullpath=False):
"""List the available keymaps for a keyboard.