OLive/olive/__main__.py

12 строки
488 B
Python

# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# --------------------------------------------------------------------------
# This is to support running Olive CLI as a module in case olive command
# is not available in the PATH.
# Example: python -m olive
if __name__ == "__main__":
from olive.cli.launcher import main
main(called_as_console_script=False)