diff options
author | Zach White <skullydazed@gmail.com> | 2021-02-08 03:03:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 11:03:08 +0000 |
commit | 448cc1acd5f107f9679a48c605861654523432e7 (patch) | |
tree | cba413d4df35238d73df5d9289ff7b7fcb734a1a /lib/python/qmk/cli/json | |
parent | 248413489f4be3396047ee49cc8d897d05fd8baf (diff) |
remove deprecated qmk json-keymap (#11823)
Diffstat (limited to 'lib/python/qmk/cli/json')
-rw-r--r-- | lib/python/qmk/cli/json/__init__.py | 5 | ||||
-rwxr-xr-x | lib/python/qmk/cli/json/keymap.py | 16 |
2 files changed, 0 insertions, 21 deletions
diff --git a/lib/python/qmk/cli/json/__init__.py b/lib/python/qmk/cli/json/__init__.py deleted file mode 100644 index f4ebfc45b4..0000000000 --- a/lib/python/qmk/cli/json/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -"""QMK CLI JSON Subcommands - -We list each subcommand here explicitly because all the reliable ways of searching for modules are slow and delay startup. -""" -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 2af9faaa72..0000000000 --- a/lib/python/qmk/cli/json/keymap.py +++ /dev/null @@ -1,16 +0,0 @@ -"""Generate a keymap.c from a configurator export. -""" -from pathlib import Path - -from milc import cli - - -@cli.argument('-o', '--output', arg_only=True, type=Path, help='File to write to') -@cli.argument('-q', '--quiet', arg_only=True, action='store_true', help="Quiet mode, only output error messages") -@cli.argument('filename', arg_only=True, help='Configurator JSON file') -@cli.subcommand('Creates a keymap.c from a QMK Configurator export.', hidden=True) -def json_keymap(cli): - """Renamed to `qmk json2c`. - """ - cli.log.error('This command has been renamed to `qmk json2c`.') - return False |