qmk-firmware/lib/python/qmk/cli
Erovia fbfd5312b9
CLI: Validate JSON keymap input (#16261)
* Fix schema validator

It should use the passed schema.

* Add required attributes to keymap schema

* Rework subcommands to validate the JSON keymaps

The 'compile', 'flash' and 'json2c' subcommands were reworked to add
JSON keymap validation so error is reported for non-JSON and
non-compliant-JSON inputs.

* Fix required fields in keymap schema

* Add tests

* Fix compiling keymaps directly from keymap directory

* Schema should not require version for now.
2022-02-28 20:02:39 +00:00
..
chibios
doctor qmk doctor: display qmk_firmware version tag (#16155) 2022-02-01 20:31:42 -08:00
format Refix "No C files in filelist: None" (#15728) 2022-01-03 22:42:15 +00:00
generate Fix issues with data driven split keyboards (#16457) 2022-02-27 13:39:24 +01:00
list [CLI] list-keymaps/list-layouts: Check keyboard passed in (#15204) 2021-11-18 17:55:07 +00:00
new Various fixes for new-keyboard (#16358) 2022-02-15 01:42:58 +00:00
__init__.py [cli] Export list of develop PRs to be merged into master (#13944) 2021-11-18 17:05:08 +00:00
bux.py
c2json.py
cd.py CLI: Add 'cd' subcommand (#12584) 2021-11-05 08:21:09 +11:00
cformat.py
clean.py
compile.py --parallel improvements (#13800) 2021-08-18 08:46:59 +10:00
docs.py qmk docs: Run docsify serve if available (#15056) 2021-11-05 08:02:27 +11:00
fileformat.py
flash.py Enable CLI flashing via mdloader (#14729) 2021-10-15 22:07:33 +01:00
hello.py
info.py Add a lot more data to info.json (#13366) 2021-08-16 23:33:30 +01:00
json2c.py CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
kle2json.py
lint.py fix automatic directory for qmk lint (#14215) 2021-08-28 23:02:31 -07:00
multibuild.py Migrate more makefile utilities to builddefs sub-directory (#16002) 2022-02-10 09:45:51 -08:00
pyformat.py
pytest.py Format code according to conventions (#16435) 2022-02-22 18:29:47 +00:00