logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git
commit: 16557f9975abf693675e2cc246f3d1b1f73faf96
parent 69640365f81c23d189a1d2266b772b536049aa25
Author: Alexandr <37986872+sannoization@users.noreply.github.com>
Date:   Tue,  7 May 2024 14:51:46 +0300

add example for c2json command (#23061)


Diffstat:

Mdocs/cli_commands.md12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/docs/cli_commands.md b/docs/cli_commands.md @@ -322,6 +322,18 @@ Creates a keymap.json from a keymap.c. qmk c2json -km KEYMAP -kb KEYBOARD [-q] [--no-cpp] [-o OUTPUT] filename ``` +**Examples**: + +``` +qmk c2json -km default -kb handwired/dactyl_promicro +``` + +or with filename: + +``` +qmk c2json keyboards/handwired/dactyl_promicro/keymaps/default/keymap.c +``` + ## `qmk lint` Checks over a keyboard and/or keymap and highlights common errors, problems, and anti-patterns.