You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the marten routes command lists all the routes of the application. To enhance usability, especially in larger applications with numerous routes, it would be beneficial to introduce an option that allows users to filter routes based on a substring (or regex). This option would enable developers to quickly locate routes that partially match a specified pattern, either in the URL path or the URL helper method.
Proposition
Add a -g option the marten routes command. For example running marten routes -g admin should output only those routes where “admin” appears in the URL path or the helper method.
Benefits:
Improved Usability: Makes it easier for developers to find specific routes in large applications.
Efficiency: Reduces the time spent manually searching through routes, especially in complex projects.
The text was updated successfully, but these errors were encountered:
Description
Currently, the
marten routes
command lists all the routes of the application. To enhance usability, especially in larger applications with numerous routes, it would be beneficial to introduce an option that allows users to filter routes based on a substring (or regex). This option would enable developers to quickly locate routes that partially match a specified pattern, either in the URL path or the URL helper method.Proposition
Add a
-g
option themarten routes
command. For example runningmarten routes -g admin
should output only those routes where “admin” appears in the URL path or the helper method.Benefits:
The text was updated successfully, but these errors were encountered: