refactor doctor.py into a directory

This commit is contained in:
Zach White 2021-06-21 22:22:35 -07:00
parent 286acfe7fd
commit e293bf243d
6 changed files with 70 additions and 49 deletions

View file

@ -0,0 +1,13 @@
import platform
from milc import cli
from .check import CheckStatus
def os_test_macos():
"""Run the Mac specific tests.
"""
cli.log.info("Detected {fg_cyan}macOS %s{fg_reset}.", platform.mac_ver()[0])
return CheckStatus.OK