summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/__init__.py
blob: eb524217cde2850e7d5ae7c3f8fb8385667ca8ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""QMK CLI Subcommands

We list each subcommand here explicitly because all the reliable ways of searching for modules are slow and delay startup.
"""
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 json
from . import json2c
from . import list
from . import kle2json
from . import new
from . import pyformat
from . import pytest

if not hasattr(cli, 'config_source'):
    cli.log.warning("Your QMK CLI is out of date. Please upgrade with `pip3 install --upgrade qmk` or by using your package manager.")