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
| Name | Type | Description |
|---|---|---|
| sort | string = endpoint | The criteria used to order the displayed routes, such as by endpoint name, HTTP methods, domain, or the rule path. |
| all_methods | boolean = false | A flag that, when true, includes internal HTTP methods like HEAD and OPTIONS in the output table. |
Returns
| Type | Description |
|---|---|
| This function does not return a value; it outputs a formatted table of routes directly to the console. |