Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --skip-route option to generate action command #196

Closed
timriley opened this issue Jul 10, 2024 · 1 comment · Fixed by #227
Closed

Add --skip-route option to generate action command #196

timriley opened this issue Jul 10, 2024 · 1 comment · Fixed by #227

Comments

@timriley
Copy link
Member

timriley commented Jul 10, 2024

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
@kyleplump
Copy link
Contributor

@timriley would this apply to slices as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants