diff options
Diffstat (limited to 'lib/python/qmk/cli/generate/layouts.py')
| -rwxr-xr-x | lib/python/qmk/cli/generate/layouts.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/generate/layouts.py b/lib/python/qmk/cli/generate/layouts.py index a738edfe6..7b4394291 100755 --- a/lib/python/qmk/cli/generate/layouts.py +++ b/lib/python/qmk/cli/generate/layouts.py | |||
| @@ -5,6 +5,7 @@ from milc import cli | |||
| 5 | from qmk.constants import COL_LETTERS, ROW_LETTERS | 5 | from qmk.constants import COL_LETTERS, ROW_LETTERS |
| 6 | from qmk.decorators import automagic_keyboard, automagic_keymap | 6 | from qmk.decorators import automagic_keyboard, automagic_keymap |
| 7 | from qmk.info import info_json | 7 | from qmk.info import info_json |
| 8 | from qmk.keyboard import keyboard_folder | ||
| 8 | from qmk.path import is_keyboard, normpath | 9 | from qmk.path import is_keyboard, normpath |
| 9 | 10 | ||
| 10 | usb_properties = { | 11 | usb_properties = { |
| @@ -16,7 +17,7 @@ usb_properties = { | |||
| 16 | 17 | ||
| 17 | @cli.argument('-o', '--output', arg_only=True, type=normpath, help='File to write to') | 18 | @cli.argument('-o', '--output', arg_only=True, type=normpath, help='File to write to') |
| 18 | @cli.argument('-q', '--quiet', arg_only=True, action='store_true', help="Quiet mode, only output error messages") | 19 | @cli.argument('-q', '--quiet', arg_only=True, action='store_true', help="Quiet mode, only output error messages") |
| 19 | @cli.argument('-kb', '--keyboard', help='Keyboard to generate config.h for.') | 20 | @cli.argument('-kb', '--keyboard', type=keyboard_folder, help='Keyboard to generate config.h for.') |
| 20 | @cli.subcommand('Used by the make system to generate layouts.h from info.json', hidden=True) | 21 | @cli.subcommand('Used by the make system to generate layouts.h from info.json', hidden=True) |
| 21 | @automagic_keyboard | 22 | @automagic_keyboard |
| 22 | @automagic_keymap | 23 | @automagic_keymap |
