diff options
| author | Zach White <skullydazed@users.noreply.github.com> | 2020-05-26 13:05:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 13:05:41 -0700 |
| commit | 751316c34465ea77e066c3052729b207f3d62e0c (patch) | |
| tree | cb99656b93c156757e2fd7c84fe716f9c300ca89 /lib/python/qmk/commands.py | |
| parent | 5d3bf8a050f3c0beb1f91147dc1ab54de36cbb05 (diff) | |
| download | qmk_firmware-751316c34465ea77e066c3052729b207f3d62e0c.tar.gz qmk_firmware-751316c34465ea77e066c3052729b207f3d62e0c.zip | |
[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>
Diffstat (limited to 'lib/python/qmk/commands.py')
| -rw-r--r-- | lib/python/qmk/commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py index 5d2a03c9a..5a6e60988 100644 --- a/lib/python/qmk/commands.py +++ b/lib/python/qmk/commands.py | |||
| @@ -64,6 +64,7 @@ def compile_configurator_json(user_keymap, bootloader=None): | |||
| 64 | def parse_configurator_json(configurator_file): | 64 | def parse_configurator_json(configurator_file): |
| 65 | """Open and parse a configurator json export | 65 | """Open and parse a configurator json export |
| 66 | """ | 66 | """ |
| 67 | # FIXME(skullydazed/anyone): Add validation here | ||
| 67 | user_keymap = json.load(configurator_file) | 68 | user_keymap = json.load(configurator_file) |
| 68 | 69 | ||
| 69 | return user_keymap | 70 | return user_keymap |
