Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cli convert subcommand, from raw KLE to JSON #6898

Merged
merged 19 commits into from
Nov 13, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update cli.md
  • Loading branch information
skullydazed committed Nov 13, 2019
commit 30f3b910ffb4f41ae6fd25131b3ebf12f3e19358
17 changes: 6 additions & 11 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,24 +92,19 @@ This command allows you to convert from raw KLE data to QMK Configurator JSON. I
**Usage**:

```
qmk kle2json [filename] [-f]
qmk kle2json [-f] [filename]
```

**Examples**:

```
$ qmk kle2json ~/github/qmk_firmware/kle.txt
☒ File /home/cody/github/qmk_firmware/info.json already exists, use -f or --force to overwrite.
...
$ qmk kle2json ~/github/qmk_firmware/kle.txt -f
Ψ Wrote keymap to /home/cody/github/qmk_firmware/info.json

$ qmk kle2json kle.txt
☒ File info.json already exists, use -f or --force to overwrite.
```

or if cwd is already `~/github/qmk_firmware/`:

```
$ qmk kle2json kle.txt -f
Ψ Wrote keymap to /home/cody/github/qmk_firmware/info.json
$ qmk kle2json -f kle.txt -f
Ψ Wrote out to info.json
```

## `qmk cformat`
Expand Down