diff options
Diffstat (limited to 'docs/cli_commands.md')
| -rw-r--r-- | docs/cli_commands.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/cli_commands.md b/docs/cli_commands.md index bb5df8996..6498b28b8 100644 --- a/docs/cli_commands.md +++ b/docs/cli_commands.md | |||
| @@ -131,6 +131,16 @@ Check your environment and report problems only: | |||
| 131 | 131 | ||
| 132 | qmk doctor -n | 132 | qmk doctor -n |
| 133 | 133 | ||
| 134 | ## `qmk format-json` | ||
| 135 | |||
| 136 | Formats a JSON file in a (mostly) human-friendly way. Will usually correctly detect the format of the JSON (info.json or keymap.json) but you can override this with `--format` if neccesary. | ||
| 137 | |||
| 138 | **Usage**: | ||
| 139 | |||
| 140 | ``` | ||
| 141 | qmk format-json [-f FORMAT] <json_file> | ||
| 142 | ``` | ||
| 143 | |||
| 134 | ## `qmk info` | 144 | ## `qmk info` |
| 135 | 145 | ||
| 136 | Displays information about keyboards and keymaps in QMK. You can use this to get information about a keyboard, show the layouts, display the underlying key matrix, or to pretty-print JSON keymaps. | 146 | Displays information about keyboards and keymaps in QMK. You can use this to get information about a keyboard, show the layouts, display the underlying key matrix, or to pretty-print JSON keymaps. |
