summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli
AgeCommit message (Collapse)Author
2021-05-29Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-29World domination (#13021)Erovia
Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-27Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-27CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869)Erovia
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-24Use milc.subcommand.config instead of qmk.cli.config (#13002)Zach White
* Use milc.subcommand.config instead * pyformat * remove the config test
2021-05-25Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-24search for the readme in higher directories as well (#12997)Zach White
2021-05-21ensure we do not conflict with existing keymap aliases (#12976)Zach White
2021-05-19Merge remote-tracking branch 'origin/master' into developZach White
Resolved Conflicts: lib/python/qmk/tests/test_cli_commands.py util/install/fedora.sh
2021-05-19Align our subprocess usage with current best practices. (#12940)Zach White
* Align our subprocess usage with current best practices. * remove unused import * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * fix the cpp invocation for older python * allow for unprompted installation * make sure qmk new-keyboard works on windows Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-18Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-18Make sure 'cformat' only runs on core files (#12909)Erovia
Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-05-16Use milc.subcommand.config instead of qmk.cli.config (#12915)Zach White
* Use milc.subcommand.config instead * pyformat * remove the config test
2021-05-12Add setup, clone, and env to the list of commands we allow even with broken ↵Zach White
modules (#12868)
2021-05-10Merge remote-tracking branch 'origin/master' into developZach White
Conflicts: bin/qmk lib/python/qmk/cli/__init__.py Merge conflicts fixed by skullydazed.
2021-05-10Move the module checking and updating to lib/python (#12416)Zach White
* move the module checking and updating to lib/python * make flake8 happy * Update lib/python/qmk/cli/__init__.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> * prompt the user to disable developer mode * pyformat * flake8 Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2021-05-10Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-10Improve our CI tests (#11476)Zach White
* add a test and dry-run to qmk generate-api * add a dry-run to qmk pyformat * Add a --dry-run to qmk cformat * reverse the order of nose2 and flake8 tests * run CI test against cformat and pyformat * fix programming errors * tweak job name * fix argument * refine the files we select * fix stack trace in --ci * make cformat exit clean * fix c file extensions * decouple CI from pyformat * remove --ci arg * make ci happy * use the environment var instead * change output to text * fix log message * replace tabs
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09fix the makefile snippet so flake8 and yapf don't fight (#12849)Zach White
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-10[CI] Format code according to conventions (#12838)github-actions[bot]
Co-authored-by: QMK Bot <hello@qmk.fm>
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09Add script to perform parallel builds. (#12497)Nick Brassel
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09Align qmk info ascii logic with milc logging (#11627)Joel Challis
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09Allow MAKE environment override for 'qmk clean' (#12473)Joel Challis
2021-05-08New command: qmk console (#12828)Zach White
* stash poc * stash * tidy up implementation * Tidy up slightly for review * Tidy up slightly for review * Bodge environment to make tests pass * Refactor away from asyncio due to windows issues * Filter devices * align vid/pid printing * Add hidapi to the installers * start preparing for multiple hid_listeners * udev rules for hid_listen * refactor to move closer to end state * very basic implementation of the threaded model * refactor how vid/pid/index are supplied and parsed * windows improvements * read the report directly when usage page isn't available * add per-device colors, the choice to show names or numbers, and refactor * add timestamps * Add support for showing bootloaders * tweak the color for bootloaders * Align bootloader disconnect with connect color * add support for showing all bootloaders * fix the pyusb check * tweaks * fix exception * hide a stack trace behind -v * add --no-bootloaders option * add documentation for qmk console * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * pyformat * clean up and flesh out KNOWN_BOOTLOADERS Co-authored-by: zvecr <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-02Shim cli to new keyboard script (#12780)Joel Challis
* Shim cli to new keyboard script * Shim cli to new keyboard script * Add docs
2021-05-02Fix unused import in recent generation code (#12781)Joel Challis
2021-05-01Allow <keyboard>.h to be optional when going data driven (#12706)Joel Challis
* Allow <keyboard>.h to be optional when going data driven * Remove stub files as no longer required * Rename function * Remove include of layouts.h for now * Take advantage of type=keyboard_folder * Take advantage of type=keyboard_folder - kb should still be mandatory
2021-04-14Add support for tab completion (#12411)Zach White
* Add support for tab completion * make flake8 happy * Add documentation
2021-04-08`qmk chibios-confmigrate`: Make `-i` and `-r` required (#12515)Ryan
2021-04-02`qmk doctor`: Fix WSL /mnt check (#12466)Ryan
2021-04-02qmk doctor: Display macOS and Windows versions, and add WSL warning for /mnt ↵Ryan
(#12441)
2021-03-31Format code according to conventions (#12437)github-actions[bot]
Co-authored-by: QMK Bot <hello@qmk.fm>
2021-03-31Allow for clang-format up to v20. (#12407)Nick Brassel
2021-03-25Add a `qmk format-json` command that will format JSON files (#12372)Zach White
* Add a command to format json files * change to work after rebase * add test for qmk format-json * add documentation for qmk format-json * Update lib/python/qmk/cli/format/json.py
2021-03-24[CI] Format code according to conventions (#12363)github-actions[bot]
* Format code according to conventions * Update lib/python/qmk/cli/generate/api.py * Update lib/python/qmk/cli/generate/api.py Co-authored-by: QMK Bot <hello@qmk.fm> Co-authored-by: Zach White <skullydazed@gmail.com>
2021-03-24Add support for qmk_configurator style aliases (#11954)Zach White
* Add support for qmk_configurator style aliases * add the keyboard aliases to the api data * add support for a keyboard metadata file * make flake8 happy
2021-03-19`qmk doctor`: Don't run udev checks under WSL (#12231)Ryan
2021-03-04`qmk generate-rules-mk`: add `--escape` switch for makefile logic (#12101)Ryan
2021-02-28Migrate make_dfu_header to CLI (#12061)Joel Challis
* Migrate make_dfu_header to CLI * lint fixes * Update lib/python/qmk/cli/generate/dfu_header.py Co-authored-by: Ryan <fauxpark@gmail.com> * Rename object Co-authored-by: Ryan <fauxpark@gmail.com>
2021-02-28Fix generated file output while target exists (#12062)Joel Challis
2021-02-27Fix develop (#12039)Zach White
Fixes file encoding errors on Windows, and layouts not correctly merging into info.json. * force utf8 encoding * correctly merge layouts and layout aliases * show what aliases point to
2021-02-13bump to python 3.7 (#11408)Zach White
2021-02-08remove deprecated qmk json-keymap (#11823)Zach White
2021-02-07Merge remote-tracking branch 'origin/master' into developQMK Bot
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