Skip to main content

routes_command

Show all registered routes with endpoints and methods.

def routes_command(
sort: string = endpoint,
all_methods: boolean = false
) - > None

Show all registered routes with endpoints and methods.

Parameters

NameTypeDescription
sortstring = endpointThe criteria used to order the displayed routes, such as by endpoint name, HTTP methods, domain, or the rule path.
all_methodsboolean = falseA flag that, when true, includes internal HTTP methods like HEAD and OPTIONS in the output table.

Returns

TypeDescription
This function does not return a value; it outputs a formatted table of routes directly to the console.