mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
Remove cd suggestion from new-keyboard (#23194)
This commit is contained in:
parent
1875659df0
commit
c060876692
|
@ -15,7 +15,7 @@ from qmk.json_schema import load_jsonschema
|
||||||
from qmk.path import keyboard
|
from qmk.path import keyboard
|
||||||
from qmk.json_encoders import InfoJSONEncoder
|
from qmk.json_encoders import InfoJSONEncoder
|
||||||
from qmk.json_schema import deep_update, json_load
|
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/')
|
COMMUNITY = Path('layouts/default/')
|
||||||
TEMPLATE = Path('data/templates/keyboard/')
|
TEMPLATE = Path('data/templates/keyboard/')
|
||||||
|
@ -254,6 +254,6 @@ def new_keyboard(cli):
|
||||||
augment_community_info(community_info, keyboard(kb_name) / community_info.name)
|
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'{{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(f"Build Command: {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.")
|
||||||
cli.log.info('or open the directory in your preferred text editor.')
|
cli.log.info(f'Project Location: {{fg_cyan}}{QMK_FIRMWARE}/{keyboard(kb_name)}{{fg_reset}},')
|
||||||
cli.log.info(f"And build with {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.")
|
cli.log.info("{{fg_yellow}}Now update the config files to match the hardware!{{fg_reset}}")
|
||||||
|
|
Loading…
Reference in a new issue