aboutsummaryrefslogtreecommitdiff
path: root/docs/cli_commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli_commands.md')
-rw-r--r--docs/cli_commands.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/cli_commands.md b/docs/cli_commands.md
index bb0de3c0d..fe6f06632 100644
--- a/docs/cli_commands.md
+++ b/docs/cli_commands.md
@@ -167,6 +167,17 @@ Creates a keymap.c from a QMK Configurator export.
167qmk json2c [-o OUTPUT] filename 167qmk json2c [-o OUTPUT] filename
168``` 168```
169 169
170## `qmk c2json`
171
172Creates a keymap.json from a keymap.c.
173**Note:** Parsing C source files is not easy, therefore this subcommand may not work your keymap. In some cases not using the C pre-processor helps.
174
175**Usage**:
176
177```
178qmk c2json [--no-cpp] [-o OUTPUT] filename
179```
180
170## `qmk list-keyboards` 181## `qmk list-keyboards`
171 182
172This command lists all the keyboards currently defined in `qmk_firmware` 183This command lists all the keyboards currently defined in `qmk_firmware`