imajin/node_modules/@angular-devkit/schematics-cli
2026-01-10 04:52:11 -08:00
..
bin chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
blank chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
node_modules chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
schematic chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
collection.json chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
LICENSE chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
package.json chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
README.md chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00

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>