Browse Source

remove deprecated qmk json-keymap (#11823)

pull/11846/head
Zach White 3 years ago
committed by GitHub
parent
commit
448cc1acd5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 22 deletions
  1. +0
    -1
      lib/python/qmk/cli/__init__.py
  2. +0
    -5
      lib/python/qmk/cli/json/__init__.py
  3. +0
    -16
      lib/python/qmk/cli/json/keymap.py

+ 0
- 1
lib/python/qmk/cli/__init__.py View File

@ -19,7 +19,6 @@ from . import flash
from . import generate
from . import hello
from . import info
from . import json
from . import json2c
from . import lint
from . import list


+ 0
- 5
lib/python/qmk/cli/json/__init__.py View File

@ -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

+ 0
- 16
lib/python/qmk/cli/json/keymap.py View File

@ -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

Loading…
Cancel
Save