1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python/qmk/cli
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
..
json Rename qmk json-keymap to qmk json2c (#8372) 2020-03-10 13:51:19 -07:00
list Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
new Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
__init__.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
cformat.py New functionality for cformat (#7893) 2020-02-22 20:57:19 -08:00
compile.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
config.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
docs.py Use os.chdir for qmk docs instead of a custom HTTP request handler (#7493) 2019-11-29 15:45:22 -08:00
doctor.py Add gcc version detection to qmk doctor (#8338) 2020-03-08 09:21:45 -07:00
flash.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
hello.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
json2c.py use qmk.path.normpath to locate the output file. 2020-03-12 13:48:17 -07:00
kle2json.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
pyformat.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
pytest.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00