Expand description
Application bootstrap and run-mode dispatch.
Owns: log init, app building (settings → custom providers → router → tools → WASM), and run-mode dispatch (TUI / print / RPC).
The helper functions below are moved verbatim from main.rs and retain their original signatures.
Functions§
- build_
app - Build a wired
Appfrom CLI args. All the wiring that used to be inline inmain()lives here. - dispatch_
run_ mode - Dispatch the run mode: TUI / print / RPC, based on the CLI flags.
- init_
logging - run_
with_ args - Parse args, build the app, dispatch.