command/generate/generate_routes library
Functions
-
featureRoutes(
List< String> featureDirs, String pkg) → List<FeatureRoute> -
Maps discovered feature directories (e.g.
lib/presentation/product) to FeatureRoutes using the project's package name for view imports. -
runGenerateRoutes(
List< String> args) → void -
river_cli generate routes— discovers every scaffolded feature and regenerateslib/app/routes/app_routes.dartandroute_page.dartfrom scratch, so the route table always matches what is on disk.