[CLI] Add `qmk list_keyboards` (#6927) 0.7.34
authorDan McClain <dan@danmcclain.net>
Mon, 7 Oct 2019 18:32:30 +0000 (14:32 -0400)
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>
Mon, 7 Oct 2019 18:32:30 +0000 (11:32 -0700)
commitf04e58dad6f56cdbd5d369c9e00405dcdb47c8ea
tree3731766a019c84f9a080cade3f4eee4460473341
parentd9b056486bf62f4751999d926fb3f8aad6d0c821
[CLI] Add `qmk list_keyboards` (#6927)

`list_keyboards` replicates the `make list-keyboards` by globbing for all paths
that include `rules.mk` and then removing the paths that include `keymaps`.

This basis of this cli command could be reused in the future as a util, but is
not done so here since this would be the only place that would use it currently

Resolves #6911
docs/cli.md
lib/python/qmk/cli/__init__.py
lib/python/qmk/cli/list/__init__.py [new file with mode: 0644]
lib/python/qmk/cli/list/keyboards.py [new file with mode: 0644]
lib/python/qmk/tests/test_cli_commands.py