product:routes
Show all HTTP routes registered by the active product, with feature attribution.
Table of contents
Usage
splent product:routes [--feature <name>] [--group]
Options
| Option | Description |
|---|---|
--feature <name> |
Show only routes registered by this feature. Accepts short (auth) or full name (splent_feature_auth). |
--group |
Group routes by feature with route counts. |
Example output
Flat table (default)
splent product:routes
my_first_app [dev] 4 feature(s) 16 route(s)
ROUTE METHOD FEATURE ENDPOINT
─────────────────────────────────────────────────────────────────────────────────────
/ GET splent_feature_public public.index
/login GET splent_feature_auth auth.login
/login POST splent_feature_auth auth.login
/logout GET splent_feature_auth auth.logout
/notes GET splent_feature_notes notes.index
/profile/edit GET splent_feature_profile profile.edit_profile
/static/<path:filename> GET (flask) static
Grouped by feature
splent product:routes --group
my_first_app [dev]
splent_feature_auth (5 routes)
GET /login
POST /login
GET /logout
GET /signup/
POST /signup/
splent_feature_notes (4 routes)
GET /notes
GET /notes/create
POST /notes/create
splent_feature_public (2 routes)
GET /
Filtered by feature
splent product:routes --feature auth
Shows only the routes registered by splent_feature_auth.
How it works
During Flask startup, the FeatureIntegrator traces which feature registers each blueprint. This mapping is stored in app.extensions['splent_blueprint_trace']. The command boots the application and reads this trace to attribute every route to its source feature.
Requirements
- A product must be selected (
splent product:select).
See also
product:config– inspect the resolved configuration with origin tracingproduct:containers– show Docker container status