|
|
@ -15,7 +15,7 @@ from qmk.json_schema import load_jsonschema |
|
|
|
from qmk.path import keyboard |
|
|
|
from qmk.json_encoders import InfoJSONEncoder |
|
|
|
from qmk.json_schema import deep_update, json_load |
|
|
|
from qmk.constants import MCU2BOOTLOADER |
|
|
|
from qmk.constants import MCU2BOOTLOADER, QMK_FIRMWARE |
|
|
|
|
|
|
|
COMMUNITY = Path('layouts/default/') |
|
|
|
TEMPLATE = Path('data/templates/keyboard/') |
|
|
@ -254,6 +254,6 @@ def new_keyboard(cli): |
|
|
|
augment_community_info(community_info, keyboard(kb_name) / community_info.name) |
|
|
|
|
|
|
|
cli.log.info(f'{{fg_green}}Created a new keyboard called {{fg_cyan}}{kb_name}{{fg_green}}.{{fg_reset}}') |
|
|
|
cli.log.info(f'To start working on things, `cd` into {{fg_cyan}}keyboards/{kb_name}{{fg_reset}},') |
|
|
|
cli.log.info('or open the directory in your preferred text editor.') |
|
|
|
cli.log.info(f"And build with {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.") |
|
|
|
cli.log.info(f"Build Command: {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.") |
|
|
|
cli.log.info(f'Project Location: {{fg_cyan}}{QMK_FIRMWARE}/{keyboard(kb_name)}{{fg_reset}},') |
|
|
|
cli.log.info("{{fg_yellow}}Now update the config files to match the hardware!{{fg_reset}}") |