diff options
-rw-r--r-- | lib/python/qmk/cli/__init__.py | 1 | ||||
-rw-r--r-- | lib/python/qmk/cli/json/__init__.py | 5 | ||||
-rwxr-xr-x | lib/python/qmk/cli/json/keymap.py | 16 |
3 files changed, 0 insertions, 22 deletions
diff --git a/lib/python/qmk/cli/__init__.py b/lib/python/qmk/cli/__init__.py index 372c40921..1732287da 100644 --- a/lib/python/qmk/cli/__init__.py +++ b/lib/python/qmk/cli/__init__.py | |||
@@ -19,7 +19,6 @@ from . import flash | |||
19 | from . import generate | 19 | from . import generate |
20 | from . import hello | 20 | from . import hello |
21 | from . import info | 21 | from . import info |
22 | from . import json | ||
23 | from . import json2c | 22 | from . import json2c |
24 | from . import lint | 23 | from . import lint |
25 | from . import list | 24 | from . import list |
diff --git a/lib/python/qmk/cli/json/__init__.py b/lib/python/qmk/cli/json/__init__.py deleted file mode 100644 index f4ebfc45b..000000000 --- a/lib/python/qmk/cli/json/__init__.py +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | """QMK CLI JSON Subcommands | ||
2 | |||
3 | We list each subcommand here explicitly because all the reliable ways of searching for modules are slow and delay startup. | ||
4 | """ | ||
5 | from . import keymap | ||
diff --git a/lib/python/qmk/cli/json/keymap.py b/lib/python/qmk/cli/json/keymap.py deleted file mode 100755 index 2af9faaa7..000000000 --- a/lib/python/qmk/cli/json/keymap.py +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | """Generate a keymap.c from a configurator export. | ||
2 | """ | ||
3 | from pathlib import Path | ||
4 | |||
5 | from milc import cli | ||
6 | |||
7 | |||
8 | @cli.argument('-o', '--output', arg_only=True, type=Path, help='File to write to') | ||
9 | @cli.argument('-q', '--quiet', arg_only=True, action='store_true', help="Quiet mode, only output error messages") | ||
10 | @cli.argument('filename', arg_only=True, help='Configurator JSON file') | ||
11 | @cli.subcommand('Creates a keymap.c from a QMK Configurator export.', hidden=True) | ||
12 | def json_keymap(cli): | ||
13 | """Renamed to `qmk json2c`. | ||
14 | """ | ||
15 | cli.log.error('This command has been renamed to `qmk json2c`.') | ||
16 | return False | ||