Remove DEFAULT_FOLDER handling (#23281)

This commit is contained in:
Joel Challis
2025-06-09 05:08:56 +01:00
committed by GitHub
parent 94f1aade5c
commit 0326355edc
10 changed files with 20 additions and 58 deletions

View File

@@ -5,10 +5,9 @@ from milc import cli
import qmk.keyboard
@cli.argument('--no-resolve-defaults', arg_only=True, action='store_false', help='Ignore any "DEFAULT_FOLDER" within keyboards rules.mk')
@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(cli.args.no_resolve_defaults):
for keyboard_name in qmk.keyboard.list_keyboards():
print(keyboard_name)