Lotus action generator atm generates routes to controller action with type GET. This might cause inconveniences for users who want different type for the route.
I’d like to propose a new way to let users generate action type with arg --method
:
$ lotus generate action <app> <controller>#<action> --method=[GET|PUT|PATCH|POST]
Feedbacks welcome