diff options
Diffstat (limited to 'docs/cli_commands.md')
-rw-r--r-- | docs/cli_commands.md | 11 |
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. | |||
167 | qmk json2c [-o OUTPUT] filename | 167 | qmk json2c [-o OUTPUT] filename |
168 | ``` | 168 | ``` |
169 | 169 | ||
170 | ## `qmk c2json` | ||
171 | |||
172 | Creates 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 | ``` | ||
178 | qmk c2json [--no-cpp] [-o OUTPUT] filename | ||
179 | ``` | ||
180 | |||
170 | ## `qmk list-keyboards` | 181 | ## `qmk list-keyboards` |
171 | 182 | ||
172 | This command lists all the keyboards currently defined in `qmk_firmware` | 183 | This command lists all the keyboards currently defined in `qmk_firmware` |