summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/decorators.py
Commit message (Collapse)AuthorAgeFilesLines
* CLI: Fix automagic (#13046)Erovia2021-05-301-6/+6
|
* Add support for tab completion (#12411)Zach White2021-04-141-49/+11
| | | | | | | * Add support for tab completion * make flake8 happy * Add documentation
* Generate api data on each push (#10609)Zach White2020-10-251-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new qmk generate-api command, to generate a complete set of API data. * Generate api data and push it to the keyboard repo * fix typo * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * fixup api workflow * remove file-changes-action * use a more mainstream github action * fix yaml error * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * more uniform date handling * make flake8 happy * Update lib/python/qmk/decorators.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* [CLI] Add a subcommand for getting information about a keyboard (#8666)Zach White2020-05-261-4/+5
| | | | | You can now use `qmk info` to get information about keyboards and keymaps. Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* Add decorators for determining keyboard and keymap based on current ↵skullydazed2020-03-131-0/+85
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.