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

Running generators inside slice should infer --slice SLICE_NAME #185

Open
cllns opened this issue Jul 1, 2024 · 0 comments
Open

Running generators inside slice should infer --slice SLICE_NAME #185

cllns opened this issue Jul 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cllns
Copy link
Member

cllns commented Jul 1, 2024

Right now, you can only us generators from the main folder, but it'd be a nice feature to have the following be equivalent:

# In main project folder
hanami generate action home.index --slice admin
# in slices/admin/
hanami generate action home.index

Similarly, we should let generating from the app/ folder work the same as it does from the main folder (since app/ is the default, it doesn't need to be any different).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant