Friday, 28 December 2018

What is angular CLI?

The Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain Angular applications. You can use the tool directly in a command shell, or indirectly through an interactive UI such as Angular Console.

Angular CLI Commands:
Below list is taken from Angular official website( https://angular.io/cli)

To learn more on angular use:  https://angular.io/guide/quickstart


COMMANDALIASDESCRIPTION
add
Adds support for an external library to your project.
buildb
Compiles an Angular app into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.
config
Retrieves or sets Angular configuration values in the angular.json file for the workspace.
docd
Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.
e2ee
Builds and serves an Angular app, then runs end-to-end tests using Protractor.
generateg
Generates and/or modifies files based on a schematic.
help
Lists available commands and their short descriptions.
lintl
Runs linting tools on Angular app code in a given project folder.
newn
Creates a new workspace and an initial Angular app.
run
Runs an Architect target with an optional custom builder configuration defined in your project.
serves
Builds and serves your app, rebuilding on file changes.
testt
Runs unit tests in a project.
update
Updates your application and its dependencies. See https://update.angular.io/
versionv
Outputs Angular CLI version.
xi18n
Extracts i18n messages from source code.

No comments:

Post a Comment