Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
0ec438289d
|
@ -228,6 +228,18 @@ This command is directory aware. It will automatically fill in KEYBOARD if you a
|
||||||
qmk list-keymaps -kb planck/ez
|
qmk list-keymaps -kb planck/ez
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## `qmk new-keyboard`
|
||||||
|
|
||||||
|
This command creates a new keyboard based on available templates.
|
||||||
|
|
||||||
|
This command will prompt for input to guide you though the generation process.
|
||||||
|
|
||||||
|
**Usage**:
|
||||||
|
|
||||||
|
```
|
||||||
|
qmk new-keyboard
|
||||||
|
```
|
||||||
|
|
||||||
## `qmk new-keymap`
|
## `qmk new-keymap`
|
||||||
|
|
||||||
This command creates a new keymap based on a keyboard's existing default keymap.
|
This command creates a new keymap based on a keyboard's existing default keymap.
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
|
from . import keyboard
|
||||||
from . import keymap
|
from . import keymap
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
"""This script automates the creation of keyboards.
|
||||||
|
"""
|
||||||
|
from milc import cli
|
||||||
|
|
||||||
|
|
||||||
|
@cli.subcommand('Creates a new keyboard')
|
||||||
|
def new_keyboard(cli):
|
||||||
|
"""Creates a new keyboard
|
||||||
|
"""
|
||||||
|
# TODO: replace this bodge to the existing script
|
||||||
|
cli.run(['util/new_keyboard.sh'], capture_output=False)
|
Loading…
Reference in New Issue