summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/json
Commit message (Collapse)AuthorAgeFilesLines
* CLI: update subcommands to use return instead of exit() (#10323)Ryan2020-10-061-1/+1
|
* CLI: Hide json-keymap subcommand, as it's been deprecated.Erovia2020-03-181-1/+1
|
* Rename qmk json-keymap to qmk json2c (#8372)skullydazed2020-03-101-43/+3
|
* Use pathlib everywhere we can (#7872)skullydazed2020-02-171-15/+16
| | | | | | | | | | | | | | | | | | | | | | * Use pathlib everywhere we can * Update lib/python/qmk/path.py Co-Authored-By: Erovia <Erovia@users.noreply.github.com> * Update lib/python/qmk/path.py Co-Authored-By: Erovia <Erovia@users.noreply.github.com> * 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 <Erovia@users.noreply.github.com>
* Add flake8 to our test suite and fix all errors (#7379)skullydazed2019-11-201-1/+0
| | | | | | * Add flake8 to our test suite and fix all errors * Add some documentation
* Make generating keymap.c from JSON more reliableskullY2019-11-121-1/+3
|
* Fix the CLI docs (#6979)St. John Johnson2019-10-291-1/+1
| | | | | - Sort the commands alphabetically - Add missing `json_keymap` - Correct underscore to dash
* Configuration system for CLI (#6708)skullydazed2019-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 <18669334+noroadsleft@users.noreply.github.com> * Update docs/cli_development.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/cli_development.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/cli_development.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Address yan's comments. * Apply suggestions from code review suggestions from @noahfrederick Co-Authored-By: Noah Frederick <code@noahfrederick.com> * Apply suggestions from code review Co-Authored-By: Noah Frederick <code@noahfrederick.com> * Remove pip3 from the test runner
* Fix compiling json files. (#6340)skullydazed2019-07-151-6/+6
|
* QMK CLI and JSON keymap support (#6176)skullydazed2019-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