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