refrakt_cli/routes

refrakt routes — print the route table from router.gleam.

Values

pub fn extract_routes(content: String) -> List(String)

Extract the route table from the source of a router.gleam file, one formatted line (method, path, handler) per route.

pub fn run() -> Nil
✨ Search Document