[CLI] Add a subcommand for getting information about a keyboard (#8666)

You can now use `qmk info` to get information about keyboards and keymaps.

Co-authored-by: Erovia <Erovia@users.noreply.github.com>
This commit is contained in:
Zach White
2020-05-26 13:05:41 -07:00
committed by Drashna Jael're
parent 5ea1cd3526
commit ec8c10ac1b
16 changed files with 886 additions and 97 deletions

View File

@@ -67,6 +67,7 @@ def compile_configurator_json(configurator_filename, bootloader=None):
def parse_configurator_json(configurator_file):
"""Open and parse a configurator json export
"""
# FIXME(skullydazed/anyone): Add validation here
user_keymap = json.load(configurator_file)
return user_keymap