summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/json2c.py
AgeCommit message (Collapse)Author
2021-02-07Allow flash/compile to accept relative json paths (#11767)Joel Challis
* Allow flash/compile to accept relative paths * Review suggestions * Review comments * Put back exists check otherwise stdin fails * fix lint
2020-12-29[CLI] Add stdin support for json2c command (#11289)LongerHV
* 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-10-25Generate api data on each push (#10609)Zach White
* add new qmk generate-api command, to generate a complete set of API data. * Generate api data and push it to the keyboard repo * fix typo * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * fixup api workflow * remove file-changes-action * use a more mainstream github action * fix yaml error * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * more uniform date handling * make flake8 happy * Update lib/python/qmk/decorators.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-10-06CLI: update subcommands to use return instead of exit() (#10323)Ryan
2020-05-26CLI: fix `json2c` subcommand and add/fix tests (#9206)Erovia
Co-authored-by: Zach White <skullydazed@users.noreply.github.com>
2020-04-18Move everything to Python 3.6 (#8835)skullydazed
2020-03-12use qmk.path.normpath to locate the output file.skullY
2020-03-10Rename qmk json-keymap to qmk json2c (#8372)skullydazed