-
Notifications
You must be signed in to change notification settings - Fork 16
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
Needs to support the flat
flag
#28
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a...
Current behavior
Currently the
store
,state
andactions
schematics generate within a folder named after the name provided.For example,
ng generate @ngxs/schematics:store sample --path=app/src/sample/store
generates:It does not allow me to generate these files directly into the
app/src/sample/store
folder but always creates the subfolder.Expected behavior
I would like to be able to specify --flat=true to generate the files directly into the target.
For example,
ng generate @ngxs/schematics:store sample --path=app/src/sample/store --flat=true
would generate:What is the motivation / use case for changing the behavior?
Not to force a directory structure on the user and to align with an option available in
@angular/schematics
.The text was updated successfully, but these errors were encountered: