Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Dec 12, 2025

This commit migrates the command-line argument parsing in the @angular-devkit/schematics-cli package from the external yargs-parser library to Node.js's native node:util.parseArgs API.

The updated parsing logic includes explicit definition of known CLI options, correct handling of camel-casing for schematic options, processing of --no- prefixes, and support for collecting multiple values for a single option.

… node:util.parseArgs

This commit migrates the command-line argument parsing in the `@angular-devkit/schematics-cli` package from the external `yargs-parser` library to Node.js's native `node:util.parseArgs` API.

The updated parsing logic includes explicit definition of known CLI options, correct handling of camel-casing for schematic options, processing of `--no-` prefixes, and support for collecting multiple values for a single option.
@clydin clydin force-pushed the schematics/cli-parse-args branch from 9de53da to 3cb87e2 Compare December 12, 2025 21:03
@clydin clydin added the target: minor This PR is targeted for the next minor release label Dec 12, 2025
@clydin clydin marked this pull request as ready for review December 13, 2025 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: @angular-devkit/schematics-cli target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant