aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* [Core] use `keycode_string` in unit tests (#25042)Stefan Kerkmann2025-03-211-1/+0
| | | | | | | | | | | | | | | * tests: use keycode_string feature With a proper keycode to string implementation in qmk there is no need to use the unit tests only implementation anymore. Signed-off-by: Stefan Kerkmann <[email protected]> * tests: remove keycode_util feature This feature is no longer used as we switched the tests to the keycode string implementation. Signed-off-by: Stefan Kerkmann <[email protected]>
* Align to latest CLI dependencies (#24553)Joel Challis2025-03-201-1/+1
| | | | | * Align to latest CLI dependencies * Update docs
* Community modules (#24848)Nick Brassel2025-02-261-0/+1
|
* Resolve keyboard_aliases when processing keyboard make targets (#24834)Joel Challis2025-01-301-0/+1
|
* Bump minimum required Python version (#24554)Joel Challis2024-10-311-2/+2
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2024-07-031-13/+15
|\
| * Minimum python version listing. (#23989)Nick Brassel2024-07-031-13/+15
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-06-241-0/+1
|\|
| * Add support for userspace to docker build commands. (#23988)0.25.9Nick Brassel2024-06-241-0/+1
| |
* | Generate keymap dd keycodes to header (#20273)Joel Challis2024-06-171-0/+1
|/
* Initial 'qmk test-c' functionality (#23038)Joel Challis2024-03-051-0/+1
|
* Fix `qmk doctor` not finding binaries on Windows (#22593)Joel Challis2023-12-021-2/+2
|
* QMK Userspace (#22222)Nick Brassel2023-11-281-0/+5
| | | | Co-authored-by: Duncan Sutherland <[email protected]>
* Add `qmk license-check` developer-level CLI command. (#22075)Nick Brassel2023-11-111-0/+1
|
* Add `qmk ci-validate-aliases` (#22205)Nick Brassel2023-10-061-0/+1
|
* Generate `make` dependency file during build for info.json's etc. (#20451)Nick Brassel2023-05-151-0/+1
|
* Add `qmk find` command, reuse logic for `qmk mass-compile`. (#20139)Nick Brassel2023-03-161-0/+1
|
* Remove CLI commands: `multibuild`, `cformat`, `fileformat`, `pyformat`. (#19629)Nick Brassel2023-01-191-4/+0
|
* Merge remote-tracking branch 'origin/master' into developzvecr2023-01-041-1/+2
|\
| * Add `qmk mass-compile`, which intends to supercede `qmk multibuild` whilst ↵Nick Brassel2023-01-041-0/+1
| | | | | | | | providing support for filtering as per data-driven definitions. (#18971)
* | Migrate 'make git-submodule' to CLI command (#19479)Joel Challis2023-01-031-0/+1
| |
* | [Test] Reset timer for every unit test and provide timestamps for log ↵Stefan Kerkmann2022-12-151-0/+1
| | | | | | | | messages (#17028)
* | Automate "Data Driven" migrations (#17820)Joel Challis2022-11-301-0/+1
|/
* Initial DD keycode migration (#18643)Joel Challis2022-11-051-0/+1
| | | | | * Initial DD keycode migration * Sort magic keycodes
* Tidy up LAYOUT macro generation (#18262)Joel Challis2022-09-191-1/+0
|
* [Core] Add getreuer's Autocorrect feature to core (#15699)Drashna Jaelre2022-09-171-0/+1
| | | Co-authored-by: Albert Y <[email protected]>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-08-241-1/+1
|\
| * Update invalid pip install flag (#18146)Joel Challis2022-08-241-1/+1
| |
* | CLI: Teaching the CLI to flash binaries (#16584)Erovia2022-08-201-0/+1
| | | | | | | | | | | | Co-authored-by: Ryan <[email protected]> Co-authored-by: Sergey Vlasov <[email protected]> Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
* | Add cli command to import keyboard|keymap|kbfirmware (#16668)Joel Challis2022-07-021-0/+3
|/
* Allow module check to error out when piped to /dev/null (#17505)Joel Challis2022-06-301-14/+22
|
* Data driven `g_led_config` (#16728)Joel Challis2022-05-161-0/+1
|
* Quantum Painter (#10174)Nick Brassel2022-04-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Install dependencies before executing unit tests. * Split out UTF-8 decoder. * Fixup python formatting rules. * Add documentation for QGF/QFF and the RLE format used. * Add CLI commands for converting images and fonts. * Add stub rules.mk for QP. * Add stream type. * Add base driver and comms interfaces. * Add support for SPI, SPI+D/C comms drivers. * Include <qp.h> when enabled. * Add base support for SPI+D/C+RST panels, as well as concrete implementation of ST7789. * Add support for GC9A01. * Add support for ILI9341. * Add support for ILI9163. * Add support for SSD1351. * Implement qp_setpixel, including pixdata buffer management. * Implement qp_line. * Implement qp_rect. * Implement qp_circle. * Implement qp_ellipse. * Implement palette interpolation. * Allow for streams to work with either flash or RAM. * Image loading. * Font loading. * QGF palette loading. * Progressive decoder of pixel data supporting Raw+RLE, 1-,2-,4-,8-bpp monochrome and palette-based images. * Image drawing. * Animations. * Font rendering. * Check against 256 colours, dump out the loaded palette if debugging enabled. * Fix build. * AVR is not the intended audience. * `qmk format-c` * Generation fix. * First batch of docs. * More docs and examples. * Review comments. * Public API documentation.
* CLI: Add 'via2json' subcommand (#16468)Erovia2022-03-241-0/+1
|
* [cli] Export list of `develop` PRs to be merged into `master` (#13944)Nick Brassel2021-11-181-0/+1
| | | | | | | | | | | * Add developer-only command for exporting the list of PRs associated with a merge to `develop`. * qmk pytest * Imports. * Remove dependencies from requirements file, manually handle. * Reduce complexity, qmk generate-api taking too long so relying on CI
* Merge remote-tracking branch 'upstream/master' into developNick Brassel2021-11-051-0/+1
|\
| * CLI: Add 'cd' subcommand (#12584)Erovia2021-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CLI: Add 'cd' subcommand Go to your qmk_firmware dir with ease. * Fix for Windows and do not run if already under QMK Home * Make flake8 happy * Fix prompt for Windows * Make flake8 happy once again * I'll get it right eventually * Apply suggestions from code review Co-authored-by: Ryan <[email protected]> * Add subcommand to __init__.py and fixup after rebase * Update Windows code to use milc's run * Unify the subshell starting with os.execl * Exit with error msg when output is redirected to non-TTY. * Revert Windows-specific code Co-authored-by: Ryan <[email protected]>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-041-0/+1
|\|
| * Allow community layouts to be specified in info.json (#14682)0.14.20Zach White2021-10-041-0/+1
| | | | | | | | | | * move the community layout detection to python * fixup tests
* | New CLI subcommand to create clang-compatible compilation database ↵Bao2021-09-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (`compile_commands.json`) (#14370) * pulled source from dev branch * missed a file from origin * formatting * revised argument names. relaxed matching rules to work for avr too * add docstrings * added docs. tightened up regex * remove unused imports * cleaning up command file. use existing qmk dir constant * rename parser library file * move lib functions into command file. there are only 2 and they aren't large * currently debugging... * more robustly find config * updated docs * remove unused imports * reuse make executable from the main make command * pulled source from dev branch * missed a file from origin * formatting * revised argument names. relaxed matching rules to work for avr too * add docstrings * added docs. tightened up regex * remove unused imports * cleaning up command file. use existing qmk dir constant * rename parser library file * move lib functions into command file. there are only 2 and they aren't large * currently debugging... * more robustly find config * updated docs * remove unused imports * reuse make executable from the main make command * remove MAKEFLAGS from environment for better control over process management * Update .gitignore Co-authored-by: Michael Forster <[email protected]> * add a usage line to docs * doc change as suggested Co-authored-by: Nick Brassel <[email protected]> * rename command * remove debug print statements * generate-compilation-database: fix arg handling * generate-comilation-db: improve error handling * use cli.run() instead of Popen() Co-authored-by: Xton <[email protected]> Co-authored-by: Christon DeWan <[email protected]> Co-authored-by: Michael Forster <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-08-291-1/+7
|\|
| * ensure that the directory for sys.executable is in the user's path (#14229)Zach White2021-08-291-1/+7
| |
* | remove qmk console, which is now part of the global cli (#14206)Zach White2021-08-291-1/+0
|/
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-08-131-2/+22
|\
| * use sudo to install modules if needed (#13984)Zach White2021-08-131-2/+22
| |
* | Move all our CLI file formatters to the format dir (#13296)Zach White2021-07-201-0/+3
| | | | | | | | | | | | | | | | | | * move all our file formatters to the format dir * Apply suggestions from code review Co-authored-by: Erovia <[email protected]> Co-authored-by: Erovia <[email protected]>
* | Merge remote-tracking branch 'origin/master' into developZach White2021-07-141-0/+1
|\| | | | | | | | | Resolved Conflicts: keyboards/checkerboards/nop60/info.json
| * switch to qmk-dotty-dict (#13460)Zach White2021-07-141-0/+1
| |
* | CLI: Add subcommand to generate version.h (#13151)Ryan2021-06-271-0/+1
|/
* add doctor to safe_commands (#13324)Zach White2021-06-241-1/+2
|