This example shows how to use apexe as a Rust library to:
- Scan CLI tools programmatically
- Convert scan results to apcore ScannedModules
- Build an MCP server from the generated bindings
- Export OpenAI-compatible tool definitions
cargo run --example programmaticScanOrchestrator::new(config).scan(tools, no_cache, depth)CliToolConverter::new().convert_all(tools)YamlOutput::new().write(modules, dir, dry_run)McpServerBuilder::new().bindings_dir(...).build()McpServerBuilder::new().export_openai_tools()