15 Commits

Author SHA1 Message Date
Hans Larsen
2e58fb33ca feat(@angular/cli): add custom implementation for analytics for commands
Some commands (like schematics) need to have custom reporting for
analytics. Schematics and Architect commands need to verify if the
schematic/architect builder run is in the safelist, for example.
2019-03-20 15:08:07 -07:00
Filipe Silva
eef66f0f65 fix(@angular/cli): error out when command json is invalid 2018-11-01 08:26:28 -07:00
Hans
b02a7e5f9b fix(@angular/cli): on error finding files, show warning
This should not prevent execution, but is useful to know.
2018-09-19 13:02:40 -07:00
Hans
34818b0346 feat(@angular/cli): add subcommand to options
SubCommands are not tied to the option that triggers them. They
contain a subset of a CommandDescription interface, with at least
a short and long description and usage notes. These are generated
from the subcommand schema (e.g. schematics in case of generate).
2018-09-19 13:02:40 -07:00
Hans
06d332ba23 feat(@angular/cli): generate --helpJson will remove collection name
For the default collection.
2018-09-14 21:29:31 -07:00
Hans
3b5dbad5c8 feat(@angular/cli): sort schematics by name in --help-json 2018-09-14 21:29:31 -07:00
Hans Larsen
30b0cbda0d refactor(@angular/cli): automated JSON schema interface generation 2018-09-13 16:44:17 -07:00
Hans
66fbc59767 feat(@angular/cli): add long description and suboption option type 2018-09-06 07:37:48 -07:00
Hans
7ffd3b3033 refactor(@angular/cli): rename project to workspace and clean up
Removed unnecessary fields in interfaces, added some comments. Overall QoL.
2018-09-06 07:37:48 -07:00
Hans
de7ec84872 feat(@angular/cli): add --helpJson (or --help-json) too all commands
And other refactors.

The interface for the JSON is available in command.ts (the CommandDescription).
2018-09-06 07:37:48 -07:00
Charles Lyding
489f0e9055 feat(@angular/cli): initialize a console prompt provider for schematics 2018-08-29 09:25:56 -07:00
Yi Qi
0535e2b738 feat(@angular/cli): allow schematic command to specify the default colletion. 2018-08-24 15:02:44 -07:00
Hans
a7b9ee5856 refactor: cleanup and better documentation / comments (hidden from release log) 2018-08-13 20:58:47 -07:00
Hans Larsen
2bf1228f12 fix(@angular/cli): fix rebase on master of original commit
Keeping this as a separate commit to leave Mike as the author of the original
work.
2018-08-13 20:58:47 -07:00
Hans
c75318b432 fix(@angular/cli): fix ci for new command formats 2018-08-13 20:58:47 -07:00