You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@angular-devkit/schematics-cli

Package Overview
Dependencies
Maintainers
2
Versions
710
Alerts
File Explorer

Advanced tools

Socket logo

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-2.12%
Maintainers
2
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

17.3.3 (2024-04-02)

@schematics/angular

| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------------------- | | a673baf5c | fix | Revert "fix(@schematics/angular): rename SSR port env variable" |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.3.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

Package last updated on 02 Apr 2024

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc