瀏覽代碼

CLI/Doctor: Print QMK_HOME (#10398)

Ryan 4 年之前
父節點
當前提交
5f23f21216
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      lib/python/qmk/cli/doctor.py

+ 3 - 0
lib/python/qmk/cli/doctor.py

@@ -10,6 +10,7 @@ from pathlib import Path
 
 
 from milc import cli
 from milc import cli
 from qmk import submodules
 from qmk import submodules
+from qmk.constants import QMK_FIRMWARE
 from qmk.questions import yesno
 from qmk.questions import yesno
 from qmk.commands import run
 from qmk.commands import run
 
 
@@ -291,6 +292,8 @@ def doctor(cli):
         cli.log.error('Unsupported OS detected: %s', platform_id)
         cli.log.error('Unsupported OS detected: %s', platform_id)
         ok = False
         ok = False
 
 
+    cli.log.info('QMK home: {fg_cyan}%s', QMK_FIRMWARE)
+
     # Make sure the basic CLI tools we need are available and can be executed.
     # Make sure the basic CLI tools we need are available and can be executed.
     bin_ok = check_binaries()
     bin_ok = check_binaries()