~ruther/qmk_firmware

ref: d353fcb99cfe345cde29cb7dc94cceaab82c610b qmk_firmware/lib/python/qmk/cli/__init__.py -rw-r--r-- 648 bytes
d353fcb9 — Rozakiin Add VIA support to Noxary x268 (#9450) 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""QMK CLI Subcommands

We list each subcommand here explicitly because all the reliable ways of searching for modules are slow and delay startup.
"""
import sys

from milc import cli

from . import cformat
from . import compile
from . import config
from . import docs
from . import doctor
from . import flash
from . import hello
from . import info
from . import json
from . import json2c
from . import list
from . import kle2json
from . import new
from . import pyformat
from . import pytest

if sys.version_info[0] != 3 or sys.version_info[1] < 6:
    cli.log.error('Your Python is too old! Please upgrade to Python 3.6 or later.')
    exit(127)