diff --git a/qmk_cli/script_qmk.py b/qmk_cli/script_qmk.py index ecc15f2..543dc6b 100644 --- a/qmk_cli/script_qmk.py +++ b/qmk_cli/script_qmk.py @@ -15,12 +15,11 @@ import milc from . import __version__ from .helpers import find_qmk_firmware, is_qmk_firmware -milc.set_metadata(version=__version__) +milc.cli.milc_options(version=__version__) milc.EMOJI_LOGLEVELS['INFO'] = '{fg_blue}Ψ{style_reset_all}' -# These must happen after the milc.set_metadata() call -import milc.subcommand.config # noqa, must come after milc.set_metadata() -from milc.questions import yesno +# These must happen after the milc.milc_options() call +import milc.subcommand.config # noqa, must come after milc.milc_options() @milc.cli.entrypoint('CLI wrapper for running QMK commands.') diff --git a/setup.cfg b/setup.cfg index dedc709..4ca23df 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,7 +37,7 @@ classifiers = [options] install_requires = hid - milc>=1.6.8 + milc>=1.9.0 pyusb setuptools>=45 # qmk_firmware packages