cli icon indicating copy to clipboard operation
cli copied to clipboard

Running generators inside slice should infer --slice SLICE_NAME

Open cllns opened this issue 1 year ago • 0 comments

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).

cllns avatar Jul 01 '24 21:07 cllns