2019-09-22 22:25:33 +02:00
|
|
|
"""QMK CLI Subcommands
|
|
|
|
|
|
|
|
We list each subcommand here explicitly because all the reliable ways of searching for modules are slow and delay startup.
|
|
|
|
"""
|
2020-03-13 23:47:04 +01:00
|
|
|
from milc import cli
|
|
|
|
|
2019-09-22 22:25:33 +02:00
|
|
|
from . import cformat
|
|
|
|
from . import compile
|
|
|
|
from . import config
|
2019-10-08 20:06:26 +02:00
|
|
|
from . import docs
|
2019-09-22 22:25:33 +02:00
|
|
|
from . import doctor
|
2019-10-05 08:38:34 +02:00
|
|
|
from . import flash
|
2019-09-22 22:25:33 +02:00
|
|
|
from . import hello
|
|
|
|
from . import json
|
2020-03-10 21:51:19 +01:00
|
|
|
from . import json2c
|
2019-10-07 20:32:30 +02:00
|
|
|
from . import list
|
2019-11-13 05:55:41 +01:00
|
|
|
from . import kle2json
|
2019-09-22 22:25:33 +02:00
|
|
|
from . import new
|
|
|
|
from . import pyformat
|
|
|
|
from . import pytest
|
2020-03-13 23:47:04 +01:00
|
|
|
|
|
|
|
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.")
|