7 Commits

Author SHA1 Message Date
Charles Lyding
b9e7f89589 fix(@angular-devkit/schematics-cli): log when in debug and/or dry run modes
When using the schematics-cli with a local collection, the debug mode is enabled by default. Debug mode also enables dry run mode by default. This can result in a confusing situation when developing a schematic locally as files will not be written to disk but no messages are present explaining why. To improve the developer experience, messages will now be shown both when debug mode is enabled and when dry run is enabled. If either is enabled by default the reason will also be shown.
2021-08-05 06:49:14 +02:00
Alan Agius
e992c9a70b build: update files to be fix eslint header/header failures 2021-05-04 09:59:40 -04:00
Joey Perrott
003854257c build: migrate all file header to use Google LLC rather than Google Inc 2021-04-27 08:35:22 +02:00
Alan Agius
35ca3901ac refactor: strip leading slash to prevent confusion 2019-12-02 10:10:34 -08:00
Alan Agius
eddad5698a fix(@angular-devkit/schematics-cli): dryRun is not set by default when using a local collection
Fixes #12815
2018-11-01 08:33:24 -07:00
Alan Agius
bb01cce06a feat(@angular-devkit/schematics-cli): add support for camelCase arguments
At the moment, only kebab case args works, and this might be misleading if you come from the Angular CLI. As for instance `--dryRun` will have no effect.

Fixes #12599
2018-10-23 10:23:17 -07:00
Alan Agius
1753b6affb test: add tests to schematic-cli 2018-09-18 11:33:11 -07:00