API

pyenvs command entrypoint

entrypoint()

The pyenvs command entrypoint.

Source code in multienv/pyenvs.py
def entrypoint():
    """The pyenvs command entrypoint."""

    commands = {
        'info': _info,
        'config': _config
    }

    ns: Namespace = _create_parser().parse_args()

    commands[ns.CMD](ns)