mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-29 04:06:59 +06:00
25c97e0019
* Shim cli to new keyboard script * Shim cli to new keyboard script * Add docs
12 lines
296 B
Python
12 lines
296 B
Python
"""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)
|