{"@attributes":{"version":"2.0"},"channel":{"title":"ng command list in Angular CLI on Angular Wiki","link":"https:\/\/www.angularjswiki.com\/angularcli\/","description":"Recent content in ng command list in Angular CLI on Angular Wiki","generator":"Hugo -- gohugo.io","language":"en","copyright":"&copy;{year}","lastBuildDate":"Fri, 26 Aug 2022 09:37:39 +0530","item":[{"title":"ng add command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-add\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-add\/","description":"Using ng add command in Angular CLI, we can add external packages or libraries to our angular project.\nAdd package name or library name followed by ng add command as shown below.\nng add &lt;package&gt; [options] What does ng add command will do in Angular CLI? ng add will use our package manager to download new dependencies and invoke an installation script (implemented as a schematic) which can update our Angular project with configuration changes and adds additional dependencies like polyfills, or scaffold package-specific initialization code."},{"title":"ng generate command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate\/","description":"ng generate command in Angular CLI is one of the building blocks of Angular applications.\nThe core Angular application files(or schematics) are created using ng generate command.\nTable of Contents ng generate command syntax ng generate command arguments ng generate command options ng generate example List of files created using ng generate command. ng generate command syntax The syntax of ng generate command is pretty straight forward, we have to pass schematic and schematic name as an argument."},{"title":"ng generate class command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-class\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-class\/","description":"ng generate class command is used to create classes in Angular applications\nTable of Contents ng generate class syntax ng generate class arguments ng generate class options ng generate class example ng generate class syntax ng generate class takes class name as parameter.\nAdditionally we can pass different options as well.\nng generate class [name] [options] or you can use shorthand syntax"},{"title":"ng generate component command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-component\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-component\/","description":"ng generate component command is used to create components in Angular applications\nTable of Contents ng generate component syntax ng generate component arguments ng generate component options ng generate component example ng generate component syntax The syntax of ng generate component takes component name as parameter.\nAdditionally we can pass different options as well.\nng generate component [name] [options] or you can use shorthand notation"},{"title":"ng generate directive command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-directive\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-directive\/","description":"ng generate directive command is used to create directives in Angular applications\nTable of Contents ng generate directive syntax ng generate directive arguments ng generate directive options ng generate directive example ng generate directive syntax ng generate directive takes directive name as parameter.\nAdditionally we can pass different options as well.\nng generate directive [name] [options] or you can use shorthand syntax"},{"title":"ng generate interface command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-interface\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-interface\/","description":"ng generate interface command is used to create interfaces in Angular applications\nTable of Contents ng generate interface syntax ng generate interface arguments ng generate interface options ng generate interface example ng generate interface syntax ng generate interface command takes two parameters name and type\nAdditionally we can pass different options as well.\nng generate interface [name] [type] [options] or you can use shorthand syntax"},{"title":"ng generate library command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-library\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-library\/","description":"ng generate library command is used to create libraries in Angular applications\nTable of Contents ng generate library syntax ng generate library arguments ng generate library options ng generate library example ng generate library syntax ng generate library command takes one parameter i.e, name\nAdditionally we can pass different options as well.\nng generate library [name] [options] or you can use shorthand syntax"},{"title":"ng generate pipe command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-pipe\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-pipe\/","description":"ng generate pipe command is used to create pipes in Angular applications\nTable of Contents ng generate pipe syntax ng generate pipe arguments ng generate pipe options ng generate pipe example ng generate pipe syntax ng generate pipe takes pipe name as parameter.\nAdditionally we can pass different options as well.\nng generate pipe [name] [options] or you can use shorthand syntax"},{"title":"ng generate service command in Angular CLI","link":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-service\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/www.angularjswiki.com\/angularcli\/ng-generate-service\/","description":"ng generate service command is used to create libraries in Angular applications\nTable of Contents ng generate service syntax ng generate service arguments ng generate service options ng generate service example ng generate service syntax ng generate service command takes one parameter i.e, name\nAdditionally we can pass different options as well.\nng generate service [name] [options] or you can use shorthand syntax"}]}}