Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cli convert subcommand, from raw KLE to JSON #6898

Merged
merged 19 commits into from
Nov 13, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename subcommand
  • Loading branch information
cfbender committed Oct 7, 2019
commit 23a278fbda3379a13c1a40068bc3f43bcd1714a3
2 changes: 1 addition & 1 deletion lib/python/qmk/cli/kle2qmk.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def default(self, obj):
@cli.argument('filename', nargs='*', 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')
def convert(cli):
def kle2qmk(cli):
"""Convert a KLE layout to QMK's layout format.
"""
if cli.args.filename:
Expand Down