Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

Source code for galaxy.jobs.runners.util.cli.factory

try:
    from galaxy.jobs.runners.util.cli import (
        CliInterface,
        split_params,
    )
except ImportError:
    from pulsar.managers.util.cli import (  # type: ignore[no-redef]
        CliInterface,
        split_params,
    )


[docs]def build_cli_interface(): return CliInterface()
[docs]def get_shell(params): cli_interface = build_cli_interface() shell_params, _ = split_params(params) return cli_interface.get_shell_plugin(shell_params)