cli icon indicating copy to clipboard operation
cli copied to clipboard

Add `--skip-route` option to `generate action` command

Open timriley opened this issue 1 year ago • 1 comments

If this is given, generating an action wouldn't attempt to update the routes file to match.

We could use this as part of our getting started guide to avoid an unnecessary line being added to the routes (which is a potential distraction for someone trying out hanami for the first time):

bundle exec hanami generate action home.show --skip-view --skip-routes

timriley avatar Jul 10 '24 11:07 timriley

@timriley would this apply to slices as well?

kyleplump avatar Aug 13 '24 13:08 kyleplump