Skip to content

basalt / cli/src / devRouteRows

Function: devRouteRows() ​

> devRouteRows(routes): object[]

Defined in: cli/src/dev.ts:50

Formats the registered routes into printable rows (method, url, and a compact flags column for auth/rate-limit) — sorted by url then method. Pure: this is what basalt dev prints on boot, and pnpm dev (plain tsx watch) can't.

Parameters ​

routes ​

DevRoute[]

Returns ​

object[]

Released under the MIT License.