doctor.py (367B)
1 # Copyright 2023 Nick Brassel (@tzarc) 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 from milc import cli 4 5 from qmk.constants import QMK_FIRMWARE, HAS_QMK_USERSPACE 6 from qmk.cli.doctor.main import userspace_tests 7 8 9 @cli.subcommand('Checks userspace configuration.') 10 def userspace_doctor(cli): 11 userspace_tests(QMK_FIRMWARE) 12 13 return 0 if HAS_QMK_USERSPACE else 1