pub fn initialize_forge() -> Result<()>Expand description
Global one-time initialization (dx binary, LSP, editor extension, daemon)
This must be called exactly once at application startup before using any other forge APIs. It initializes the global forge instance, LSP server, file watchers, and all core systems.
ยงExample
use dx_forge::initialize_forge;
fn main() -> anyhow::Result<()> {
initialize_forge()?;
// Now forge is ready to use
Ok(())
}