summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/kle2json.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove references to info.json `width` and `height` in CLI (#13728)Ryan2021-07-291-2/+0
|
* Add support for tab completion (#12411)Zach White2021-04-141-1/+2
| | | | | | | * Add support for tab completion * make flake8 happy * Add documentation
* Add a `qmk format-json` command that will format JSON files (#12372)Zach White2021-03-251-1/+1
| | | | | | | | | | | * Add a command to format json files * change to work after rebase * add test for qmk format-json * add documentation for qmk format-json * Update lib/python/qmk/cli/format/json.py
* Fix develop (#12039)Zach White2021-02-271-1/+1
| | | | | | | | | Fixes file encoding errors on Windows, and layouts not correctly merging into info.json. * force utf8 encoding * correctly merge layouts and layout aliases * show what aliases point to
* Configure keyboard matrix from info.json (#10817)Zach White2020-12-301-33/+18
| | | | | | | | | | | | | | | | | | | | | | | | | * Make parameters from info.json available to the build system * move all clueboard settings to info.json * code formatting * make flake8 happy * make flake8 happy * make qmk lint happy * Add support for specifying led indicators in json * move led indicators to the clueboard info.json * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * add missing docstring Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* CLI: update subcommands to use return instead of exit() (#10323)Ryan2020-10-061-3/+3
|
* kle2json: fix invocation errorKeenan Brock2020-04-261-1/+1
| | | | | | resolves an issue while finding the file path TypeError: unsupported operand type(s) for +: 'PosixPath' and 'str'
* Move everything to Python 3.6 (#8835)skullydazed2020-04-181-4/+4
|
* Don't hide for devs...Erovia2020-04-081-1/+1
|
* Rebase on master, hide some other subcommandsErovia2020-04-081-1/+1
| | | | | | | | | | | The list of hidden subcommands were approved by @skullydazed ;) Currently hidden if 'user.developer' is not True: - cformat - docs - kle2json - pyformat - pytest
* Add flake8 to our test suite and fix all errors (#7379)skullydazed2019-11-201-3/+1
| | | | | | * Add flake8 to our test suite and fix all errors * Add some documentation
* format code according to conventions [skip ci]QMK Bot2019-11-131-6/+4
|
* Add cli convert subcommand, from raw KLE to JSON (#6898)Cody Bender2019-11-121-0/+79
* Add initial pass at KLE convert * Add cli log on convert * Move kle2xy, add absolute filepath arg support * Add overwrite flag, and context sensitive conversion * Update docs/cli.md * Fix converter.py typo * Add convert unit test * Rename to kle2qmk * Rename subcommand * Rename subcommand to kle2json * Change tests to cover rename * Rename in __init__.py * Update CLI docs with new subcommand name * Fix from suggestions in PR #6898 * Help with cases of case sensitivity * Update cli.md * Use angle brackets to indicate required option * Make the output text more accurate