MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / main

Function main

src/bin/rust-native.rs:23–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23fn main() -> Result<(), Box<dyn std::error::Error>> {
24 let cli = Cli::parse();
25
26 match cli.command {
27 Commands::Dev { path } => {
28 println!("Starting development server in: {}", path);
29 let mut server = DevServer::new();
30 server.watch(&path)?;
31 server.rebuild(); // Start initial build
32 server.run()
33 }
34 }
35}

Callers

nothing calls this directly

Calls 3

watchMethod · 0.80
rebuildMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected