Split the previous monolithic implementation into focused modules for CLI handling, workflow loading, runtime bootstrap, load ordering, planning, rendering, and file I/O. Keep the public compatibility surface intact by preserving the legacy top-level wrapper while adding as the documented entrypoint. This reduces cross-cutting coupling inside the exporter and makes the runtime/bootstrap behavior easier to evolve without carrying unrelated concerns in one file.
20 lines
442 B
Python
20 lines
442 B
Python
from comfyui_to_python.node_runtime import (
|
|
add_comfyui_directory_to_sys_path,
|
|
add_extra_model_paths,
|
|
bootstrap_comfyui_runtime,
|
|
find_path,
|
|
get_comfyui_path,
|
|
get_value_at_index,
|
|
import_custom_nodes,
|
|
)
|
|
|
|
__all__ = [
|
|
"add_comfyui_directory_to_sys_path",
|
|
"add_extra_model_paths",
|
|
"bootstrap_comfyui_runtime",
|
|
"find_path",
|
|
"get_comfyui_path",
|
|
"get_value_at_index",
|
|
"import_custom_nodes",
|
|
]
|