Skip to content

Commit

Permalink
add example for c2json command (qmk#23061)
Browse files Browse the repository at this point in the history
  • Loading branch information
sannoization authored May 7, 2024
1 parent 6964036 commit 16557f9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/cli_commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 16557f9

Please sign in to comment.