aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/json
Commit message (Collapse)AuthorAgeFilesLines
* Rename qmk json-keymap to qmk json2c (#8372)0.8.27skullydazed2020-03-101-43/+3
|
* Use pathlib everywhere we can (#7872)0.7.156skullydazed2020-02-171-15/+16
| | | | | | | | | | | | | | | | | | | | | | * Use pathlib everywhere we can * Update lib/python/qmk/path.py Co-Authored-By: Erovia <[email protected]> * Update lib/python/qmk/path.py Co-Authored-By: Erovia <[email protected]> * Improvements based on @erovia's feedback * rework qmk compile and qmk flash to use pathlib * style * Remove the subcommand_name argument from find_keyboard_keymap() Co-authored-by: Erovia <[email protected]>
* Add flake8 to our test suite and fix all errors (#7379)0.7.83skullydazed2019-11-201-1/+0
| | | | | | * Add flake8 to our test suite and fix all errors * Add some documentation
* Make generating keymap.c from JSON more reliable0.7.70skullY2019-11-121-1/+3
|
* Fix the CLI docs (#6979)0.7.51St. John Johnson2019-10-291-1/+1
| | | | | - Sort the commands alphabetically - Add missing `json_keymap` - Correct underscore to dash
* Configuration system for CLI (#6708)0.7.26skullydazed2019-09-222-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework how bin/qmk handles subcommands * qmk config wip * Code to show all configs * Fully working `qmk config` command * Mark some CLI arguments so they don't pollute the config file * Fleshed out config support, nicer subcommand support * sync with installable cli * pyformat * Add a test for subcommand_modules * Documentation for the `qmk config` command * split config_token on space so qmk config is more predictable * Rework how subcommands are imported * Document `arg_only` * Document deleting from CLI * Document how multiple operations work * Add cli config to the doc index * Add tests for the cli commands * Make running the tests more reliable * Be more selective about building all default keymaps * Update new-keymap to fit the new subcommand style * Add documentation about writing CLI scripts * Document new-keyboard * Update docs/cli_configuration.md Co-Authored-By: noroadsleft <[email protected]> * Update docs/cli_development.md Co-Authored-By: noroadsleft <[email protected]> * Update docs/cli_development.md Co-Authored-By: noroadsleft <[email protected]> * Update docs/cli_development.md Co-Authored-By: noroadsleft <[email protected]> * Address yan's comments. * Apply suggestions from code review suggestions from @noahfrederick Co-Authored-By: Noah Frederick <[email protected]> * Apply suggestions from code review Co-Authored-By: Noah Frederick <[email protected]> * Remove pip3 from the test runner
* Fix compiling json files. (#6340)0.6.418skullydazed2019-07-151-6/+6
|
* QMK CLI and JSON keymap support (#6176)0.6.417skullydazed2019-07-152-0/+54
* Script to generate keymap.c from JSON file. * Support for keymap.json * Add a warning about the keymap.c getting overwritten. * Fix keymap generating * Install the python deps * Flesh out more of the python environment * Remove defunct json2keymap * Style everything with yapf * Polish up python support * Hide json keymap.c into the .build dir * Polish up qmk-compile-json * Make milc work with positional arguments * Fix a couple small things * Fix some errors and make the CLI more understandable * Make the qmk wrapper more robust * Add basic QMK Doctor * Clean up docstrings and flesh them out as needed * remove unused compile_firmware() function