qmk_firmware/lib/python/qmk
skullydazed f81b0e35a6
Add decorators for determining keyboard and keymap based on current directory (#8191)
* Use pathlib everywhere we can

* 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()

* add experimental decorators

* Create decorators for finding keyboard and keymap based on current directory.

Decorators were inspired by @Erovia's brilliant work on the proof of concept.
2020-03-13 15:47:04 -07:00
..
cli Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
tests New functionality for cformat (#7893) 2020-02-22 20:57:19 -08:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
commands.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
constants.py Use pathlib everywhere we can (#7872) 2020-02-17 11:42:11 -08:00
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
decorators.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
errors.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
keymap.py Use pathlib everywhere we can (#7872) 2020-02-17 11:42:11 -08:00
makefile.py Code cleanup, use pathlib, use pytest keyboard 2020-02-15 15:19:03 -08:00
path.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
questions.py Improve the functionality of qmk.questions (#8020) 2020-02-03 09:04:58 -08:00
submodules.py Beef up how qmk doctor works. (#7375) 2020-01-24 20:31:16 +01:00