Question: You want to see what files would be generated by creating a new contact-card component. Which command would you use?

  1. ng generate component contact-card --dry-run
  2. ng generate component contact-card --no-files
  3. ng generate component component --dry
  4. ng generate component --exclude

Answer: The correct answer of the above question is Option A:ng generate component contact-card --dry-run