qmk-firmware/lib/python/qmk
LongerHV 221d8fd866
[CLI] Add stdin support for json2c command (#11289)
* Implement stdin for json2c command

* Refactor

* Handle json decode error

* Add stdin support for c2json cli command

* Refactor to prevent code duplication

* Change exit(1) to return False in c2json command

* Remove unused import
2020-12-29 11:34:48 -08:00
..
cli [CLI] Add stdin support for json2c command (#11289) 2020-12-29 11:34:48 -08:00
os_helpers Split of the doctor codebase (#11255) 2020-12-21 13:29:36 +01:00
tests [CLI] Add stdin support for json2c command (#11289) 2020-12-29 11:34:48 -08:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
c_parse.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
commands.py c2json: Fix TypeError on MSYS2 (#10709) 2020-10-23 12:21:32 +11:00
comment_remover.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
constants.py Generate api data on each push (#10609) 2020-10-25 14:48:44 -07:00
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
datetime.py Generate api data on each push (#10609) 2020-10-25 14:48:44 -07:00
decorators.py Generate api data on each push (#10609) 2020-10-25 14:48:44 -07:00
errors.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
info.py Change keyboard json format to bring it inline with the current api (#11231) 2020-12-19 19:46:30 +01:00
keyboard.py qmk info: Add --ascii flag (#10793) 2020-11-02 00:41:01 -08:00
keymap.py [CLI] Add stdin support for json2c command (#11289) 2020-12-29 11:34:48 -08:00
makefile.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
math.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
path.py New command: qmk lint (#10761) 2020-11-07 09:56:08 -08:00
submodules.py Beef up how qmk doctor works. (#7375) 2020-01-24 20:31:16 +01:00