Skip to content

Help is not displaying schematic options #7723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
BennieCopeland opened this issue Sep 17, 2017 · 3 comments · Fixed by #8227
Closed

Help is not displaying schematic options #7723

BennieCopeland opened this issue Sep 17, 2017 · 3 comments · Fixed by #8227
Labels
freq3: high P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful severity5: regression type: bug/fix workaround4: none

Comments

@BennieCopeland
Copy link

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.4.2
node: 8.5.0
os: win32 x64
@angular/animations: 4.4.1
@angular/common: 4.4.1
@angular/compiler: 4.4.1
@angular/core: 4.4.1
@angular/forms: 4.4.1
@angular/http: 4.4.1
@angular/platform-browser: 4.4.1
@angular/platform-browser-dynamic: 4.4.1
@angular/router: 4.4.1
@angular/cli: 1.4.2
@angular/compiler-cli: 4.4.1
@angular/language-service: 4.4.1
typescript: 2.3.4

Repro steps.

ng help
ng generate component --help

The log given by the failure.

Desired functionality.

Display schematics options. I'm a new CLI user, and I don't know what options are available now when creating new applications or files.

Mention any other details that might be useful.

@Brocco Brocco self-assigned this Sep 22, 2017
@petercn
Copy link

petercn commented Oct 10, 2017

@BennieCopeland Here's a short readme which might help a bit: https://github.com/angular/devkit/tree/master/packages/schematics/schematics/schematic/files

Basically, with @angular-devkit/schematics installed, you can then "schematics --help"

The base schematics which ng cli comes with are about 10 or so which include basics like ng generate class, component, service, etc.

Other third parties are beginning to create their own schematics as well, check out this new Nx project which builds upon ng cli: https://nrwl.io/nx

Hope all of that helps :-)

@filipesilva filipesilva added P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful command: generate freq3: high type: bug/fix workaround4: none labels Oct 16, 2017
@filipesilva
Copy link
Contributor

It is unintended that ng generate component --help does not display flags supported by schematics. This also affects ng new.

We're working to fix help support for schematics showing the available flags in the CLI.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freq3: high P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful severity5: regression type: bug/fix workaround4: none
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants