MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / run_init_tui

Function run_init_tui

uncommon_route/tui/init_app.py:856–872  ·  view source on GitHub ↗
(
    *,
    rc_path: Path,
    rc_display: str,
    render_exports: Callable[[str, int], list[str]],
    start_background_proxy: Callable[..., tuple[bool, str]],
    port: int = 8403,
)

Source from the content-addressed store, hash-verified

854
855
856def run_init_tui(
857 *,
858 rc_path: Path,
859 rc_display: str,
860 render_exports: Callable[[str, int], list[str]],
861 start_background_proxy: Callable[..., tuple[bool, str]],
862 port: int = 8403,
863) -> ApplyResult | None:
864 app = InitApp(
865 rc_path=rc_path,
866 rc_display=rc_display,
867 render_exports=render_exports,
868 start_background_proxy=start_background_proxy,
869 port=port,
870 )
871 app.run()
872 return app.last_result

Callers 1

_cmd_initFunction · 0.90

Calls 2

InitAppClass · 0.85
runMethod · 0.80

Tested by

no test coverage detected