diff options
| author | Zach White <[email protected]> | 2021-04-14 19:00:22 -0700 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-14 19:00:22 -0700 | 
| commit | 588bcdc8ca212b195a428fc43766a59a9252c08d (patch) | |
| tree | 4867ef610b2178d51002063bd4913e806f771543 /lib/python/qmk/cli/kle2json.py | |
| parent | b33e6793de6c5f5124ee88fb3eb62d8f54f74940 (diff) | |
| download | qmk_firmware-588bcdc8ca212b195a428fc43766a59a9252c08d.tar.gz qmk_firmware-588bcdc8ca212b195a428fc43766a59a9252c08d.zip | |
Add support for tab completion (#12411)0.12.35
* Add support for tab completion
* make flake8 happy
* Add documentation
Diffstat (limited to 'lib/python/qmk/cli/kle2json.py')
| -rwxr-xr-x | lib/python/qmk/cli/kle2json.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/python/qmk/cli/kle2json.py b/lib/python/qmk/cli/kle2json.py index 91499c9af3..acb75ef4fd 100755 --- a/lib/python/qmk/cli/kle2json.py +++ b/lib/python/qmk/cli/kle2json.py @@ -4,6 +4,7 @@ import json  import os  from pathlib import Path +from argcomplete.completers import FilesCompleter  from milc import cli  from kle2xy import KLE2xy @@ -11,7 +12,7 @@ from qmk.converter import kle2qmk  from qmk.json_encoders import InfoJSONEncoder [email protected]('filename', help='The KLE raw txt to convert') [email protected]('filename', completer=FilesCompleter('.json'), help='The KLE raw txt to convert')  @cli.argument('-f', '--force', action='store_true', help='Flag to overwrite current info.json')  @cli.subcommand('Convert a KLE layout to a Configurator JSON', hidden=False if cli.config.user.developer else True)  def kle2json(cli): | 
