Running generators inside slice should infer --slice SLICE_NAME
Open
enhancement
- Dominant language
- Ruby
- Stars
- 33
- Forks
- 55
- Avg merge
- 8d 7h
- Merged PRs (30d)
- 2
Description
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).
Contributor guide
Assessment
This issue has not been assessed yet.