1
0
Fork 0

CLI command to format C code

This commit is contained in:
skullY 2019-08-22 10:18:52 -07:00 committed by skullydazed
parent d076234fd1
commit 9547774962
2 changed files with 37 additions and 0 deletions

View file

@ -36,3 +36,13 @@ qmk compile <configuratorExport.json>
```
qmk compile -kb <keyboard_name> -km <keymap_name>
```
## `qmk cformat`
This command formats C code using clang-format. Run it with no arguments to format all core code, or pass filenames on the command line to run it on specific files.
**Usage**:
```
qmk cformat [file1] [file2] [...] [fileN]
```