From e5b91663768ebe96ccb9d30ee2e48573979029b0 Mon Sep 17 00:00:00 2001 From: tzarc Date: Thu, 25 Mar 2021 11:40:00 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20master=20@?= =?UTF-8?q?=203e60997edba46544557b3a775bdb1538e07c3edf=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli_commands.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cli_commands.md b/cli_commands.md index bb5df89968..6498b28b88 100644 --- a/cli_commands.md +++ b/cli_commands.md @@ -131,6 +131,16 @@ Check your environment and report problems only: qmk doctor -n +## `qmk format-json` + +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. + +**Usage**: + +``` +qmk format-json [-f FORMAT] +``` + ## `qmk info` 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.