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

Feature Request: option to generate folder if missing #4014

Closed
johnpapa opened this issue Jan 14, 2017 · 4 comments
Closed

Feature Request: option to generate folder if missing #4014

johnpapa opened this issue Jan 14, 2017 · 4 comments

Comments

@johnpapa
Copy link
Contributor

I believe it would be helpful to generate a folder, if it doesn't exist. For example:

ng g c models/person

... this will generate a class named person in the models folder only if that folder exists. This often forces the user to perform mkdir models first.

This is a minor feature request, but one that I think will be helpful in many cases.

@hansl
Copy link
Contributor

hansl commented Jan 14, 2017

#3912 will make the parent dir all the time.

@hansl hansl closed this as completed Jan 14, 2017
@hansl
Copy link
Contributor

hansl commented Jan 14, 2017

Also dupe of #3307 (although title is misleading)

@johnpapa
Copy link
Contributor Author

ah, thanks for the cross link

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants