Socket
Socket
Sign inDemoInstall

@angular-devkit/schematics-cli

Package Overview
Dependencies
7
Maintainers
3
Versions
704
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-devkit/schematics-cli

Angular Schematics - CLI


Version published
Weekly downloads
1.9M
decreased by-0.12%
Maintainers
3
Install size
15.1 MB
Created
Weekly downloads
 

Package description

What is @angular-devkit/schematics-cli?

@angular-devkit/schematics-cli is a command-line interface tool that allows developers to create and manage schematics in Angular projects. Schematics are templates for code generation and modification, which can be used to automate repetitive tasks, enforce coding standards, and streamline project setup.

What are @angular-devkit/schematics-cli's main functionalities?

Generate a new schematic

This command generates a new blank schematic with the specified name. Schematics can be used to automate code generation and modifications in Angular projects.

schematics blank --name=my-schematic

Run a schematic

This command runs a schematic from the current directory. The schematic will perform the code generation or modification tasks defined in its implementation.

schematics .:my-schematic

Debug a schematic

This command runs a schematic in debug mode, allowing developers to see detailed logs and diagnose issues with their schematics.

schematics .:my-schematic --debug=false

Other packages similar to @angular-devkit/schematics-cli

Changelog

Source

13.0.3 (2021-11-17)

Special Thanks

Alan Agius, Joey Perrott and Krzysztof Platis

<!-- CHANGELOG SPLIT MARKER -->

<a name="13.0.2"></a>

Readme

Source

Schematics CLI

This package contains the executable for running a Schematic.

Usage

$ schematics [CollectionName:]SchematicName [options, ...]

By default, if the collection name is not specified, use the internal collection provided
by the Schematics CLI.

Options:
    --debug             Debug mode. This is true by default if the collection is a relative
                        path (in that case, turn off with --debug=false).

    --allow-private     Allow private schematics to be run from the command line. Default to
                        false.

    --dry-run           Do not output anything, but instead just show what actions would be
                        performed. Default to true if debug is also true.

    --force             Force overwriting files that would otherwise be an error.

    --list-schematics   List all schematics from the collection, by name. A collection name
                        should be suffixed by a colon. Example: '@angular-devkit/schematics-cli:'.

    --no-interactive    Disables interactive input prompts.

    --verbose           Show more information.

    --help              Show this message.

Any additional option is passed to the Schematics depending on its schema.

Examples

  1. Create a new NPM package that contains a blank schematic.
$ schematics blank <name>
  1. Walkthrough example that demonstrates how to build a schematic.
$ schematics schematic --name <name>

Keywords

FAQs

Last updated on 18 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc