Why should I use Angular CLI?
Experience Level: Junior
Tags: Angular CLI
Answer
Angular CLI (Angular Command-Line Interface) will make you more productive.
You can use Angular CLI to
- create a new Angular project,
- create new components
- create new services
- create new pipes
- create new directives
- update Angular application and its dependencies
- build and serve Angular application
- run linting tools on Angular app code in a given project folder
- run unit tests
- display Angular CLI
- and more...
Most of the actions above can be done manually as well, but Angular CLI speeds up the workflow by automating the key actions that you repeat often.
Related Angular CLI job interview questions
What does -g parameter do when you are installing npm package using npm install command?
Angular CLI JuniorWhat command aliases do you use when using Angular CLI?
AngularAngular CLI JuniorHow do you build your Angular application using Angular CLI for use on production environment?
AngularAngular CLI JuniorHow do you build your Angular application using Angular CLI for use on a local or development environment?
AngularAngular CLI JuniorUsing Anular CLI, how do you create a new component that will be automatically imported to your feature module that is called feature-module1?
AngularAngular CLI Junior