def cli(verbose): _utils.init_logger() lv = ".".join(_utils.get_latest_version().split(".")[:3]) cv = ".".join(caps.__version__.split(".")[:3]) if semver.compare(lv, cv) > 0: click.secho( f"""WARNING: You are using caps-cli version {caps.__version__}, however version {lv} is available. You should consider upgrading via the 'pip install --upgrade caps' command.""", fg="yellow", )
def _main(): _utils.init_logger() logging.info("Running from main") logging.info( "Hmm, no one has put code in _initialize.py's main function. Quitting")