Commit Graph

7 Commits

Author SHA1 Message Date
LongerHV
180cb957fe [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
2021-01-12 22:46:11 -08:00
Drashna Jael're
2dbe99b04f Brute force update CLI tools 2021-01-12 22:43:35 -08:00
Ryan
ae5ee61e7b CLI: update subcommands to use return instead of exit() (#10323) 2021-01-12 22:43:31 -08:00
Erovia
5ea1cd3526 CLI: fix json2c subcommand and add/fix tests (#9206)
Co-authored-by: Zach White <skullydazed@users.noreply.github.com>
2020-08-08 20:29:03 -07:00
skullydazed
1dfe06affc Move everything to Python 3.6 (#8835) 2020-06-12 17:00:27 +09:00
skullY
248655eedc use qmk.path.normpath to locate the output file. 2020-06-12 17:00:27 +09:00
skullydazed
ae57cdc97a Rename qmk json-keymap to qmk json2c (#8372) 2020-06-12 17:00:27 +09:00