__init__.py 636 B

1234567891011121314151617181920212223
  1. """QMK CLI Subcommands
  2. We list each subcommand here explicitly because all the reliable ways of searching for modules are slow and delay startup.
  3. """
  4. from milc import cli
  5. from . import cformat
  6. from . import compile
  7. from . import config
  8. from . import docs
  9. from . import doctor
  10. from . import flash
  11. from . import hello
  12. from . import json
  13. from . import json2c
  14. from . import list
  15. from . import kle2json
  16. from . import new
  17. from . import pyformat
  18. from . import pytest
  19. if not hasattr(cli, 'config_source'):
  20. cli.log.warning("Your QMK CLI is out of date. Please upgrade with `pip3 install --upgrade qmk` or by using your package manager.")