Mini Shell

Direktori : /proc/self/root/opt/imh-python/lib/python3.9/site-packages/celery/
Upload File :
Current File : //proc/self/root/opt/imh-python/lib/python3.9/site-packages/celery/__main__.py

"""Entry-point for the :program:`celery` umbrella command."""

import sys

from . import maybe_patch_concurrency

__all__ = ('main',)


def main() -> None:
    """Entrypoint to the ``celery`` umbrella command."""
    if 'multi' not in sys.argv:
        maybe_patch_concurrency()
    from celery.bin.celery import main as _main
    sys.exit(_main())


if __name__ == '__main__':  # pragma: no cover
    main()

Zerion Mini Shell 1.0