Skip to main content

run

Function run 

Source
pub async fn run(routes: Option<Router>)
Expand description

Runs the Doido CLI.

routes carries the application’s router. The server command starts the HTTP server only when routes is Some; with None (e.g. the standalone doido-generators binary) the server is not started.