summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/list/keymaps.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/cli/list/keymaps.py')
-rw-r--r--lib/python/qmk/cli/list/keymaps.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/list/keymaps.py b/lib/python/qmk/cli/list/keymaps.py
index d199d29bc3..cec9ca0224 100644
--- a/lib/python/qmk/cli/list/keymaps.py
+++ b/lib/python/qmk/cli/list/keymaps.py
@@ -1,12 +1,15 @@
"""List the keymaps for a specific keyboard
"""
from milc import cli
+
import qmk.keymap
+from qmk.decorators import automagic_keyboard
from qmk.errors import NoSuchKeyboardError
@cli.argument("-kb", "--keyboard", help="Specify keyboard name. Example: 1upkeyboards/1up60hse")
@cli.subcommand("List the keymaps for a specific keyboard")
+@automagic_keyboard
def list_keymaps(cli):
"""List the keymaps for a specific keyboard
"""