Q. Which Angular CLI command generates a new component?
β
Correct Answer: (A)
ng generate component component-name
Explanation: The generate command scaffolds new components, directives, services, etc.