import { cli , Command } from '@deepkit/app' ; import { Router } from '@deepkit/http' ; @ cli . controller ( 'debug:router' , { } ) export class DebugRouterController implements Command { constructor ( protected router ) { } async execute ( ) { this . router . resolve ( 'GET' , '/' ) ; console . log ( ( this . router as any ) . fn . toString ( ) ) ; } }