1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python/qmk/cli
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
..
chibios 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
generate Change keyboard json format to bring it inline with the current api (#11231) 2020-12-19 19:46:30 +01:00
json CLI: update subcommands to use return instead of exit() (#10323) 2020-10-06 16:46:10 -07:00
list Generate api data on each push (#10609) 2020-10-25 14:48:44 -07:00
new CLI: update subcommands to use return instead of exit() (#10323) 2020-10-06 16:46:10 -07:00
__init__.py CI: Add workflow for codebase formatting (#7382) 2020-12-10 17:01:51 +00:00
c2json.py [CLI] Add stdin support for json2c command (#11289) 2020-12-29 11:34:48 -08:00
cformat.py Fix warning logic when running 'qmk format -a' (#11177) 2020-12-10 19:02:41 +00:00
clean.py CLI: Add qmk clean (#10785) 2020-11-04 19:18:47 +00:00
compile.py Fix the path for generated keymaps (#9213) 2020-05-26 15:18:49 -07:00
config.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
docs.py Don't hide for devs... 2020-04-08 09:31:14 -07:00
doctor.py Split of the doctor codebase (#11255) 2020-12-21 13:29:36 +01:00
fileformat.py qmk fileformat: only print complaints, and fix some of them (#11278) 2020-12-24 02:36:44 +00:00
flash.py Add st-flash flash target (#9964) 2020-08-29 14:30:02 -07:00
hello.py CLI: Add development mode support 2020-04-08 09:31:14 -07:00
info.py qmk info: Add --ascii flag (#10793) 2020-11-02 00:41:01 -08:00
json2c.py [CLI] Add stdin support for json2c command (#11289) 2020-12-29 11:34:48 -08:00
kle2json.py CLI: update subcommands to use return instead of exit() (#10323) 2020-10-06 16:46:10 -07:00
lint.py New command: qmk lint (#10761) 2020-11-07 09:56:08 -08:00
pyformat.py CLI: Add development mode support 2020-04-08 09:31:14 -07:00
pytest.py CLI: Add development mode support 2020-04-08 09:31:14 -07:00