Shim cli to new keyboard script (#12780)
* Shim cli to new keyboard script * Shim cli to new keyboard script * Add docs
This commit is contained in:
@ -1 +1,2 @@
|
||||
from . import keyboard
|
||||
from . import keymap
|
||||
|
11
lib/python/qmk/cli/new/keyboard.py
Normal file
11
lib/python/qmk/cli/new/keyboard.py
Normal file
@ -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)
|
Reference in New Issue
Block a user