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/subdomain, or the rule pattern. |
| all_methods | boolean = False | A flag that, when true, includes internal HTTP methods like HEAD and OPTIONS in the output table. |
Returns
| Type | Description |
|---|---|
None | Nothing; the function outputs a formatted table of routes directly to the console. |