« All deprecation guides
Deprecation Guide for
Deprecation Guide for
init
with file names or globs
until: 7.0.0
id: init-no-file-names
Using ember init package.json
or ember init app/**
was once added to generate specific files or file structures from the app blueprint. Globbing doesn't work at all anymore and you need to know the specific filename within the classic app blueprint to use this.
This feature was never documented in the --help
output, but if you find yourself in a situation where you want to re-init
a specific file for your app, do this instead:
- Verify that you start with a clean git working tree; otherwise stash or commit any pending changes
- Run the
ember init
command as usual - Use git to remove the files you didn't want to regenerate