Skip to content
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

workspace-generator does not print the options #7939

Closed
eggp opened this issue Nov 29, 2021 · 3 comments · Fixed by #9116
Closed

workspace-generator does not print the options #7939

eggp opened this issue Nov 29, 2021 · 3 comments · Fixed by #9116

Comments

@eggp
Copy link

eggp commented Nov 29, 2021

Current Behavior

run command in shell: nx workspace-generator WGNAME help or nx workspace-generator WGNAME --help
result output:

Options:
  --help             Show help                                                                                  [boolean]
  --version          Show version number                                                                        [boolean]
  --list-generators  List the available workspace-generators                                                    [boolean]

Expected Behavior

According to schema.json, display the configuration options as for other schematics tools

Steps to Reproduce

run commands in nx project:

  1. nx generate @nrwl/workspace:workspace-generator my-generator
  2. nx workspace-generator my-generator help or nx workspace-generator my-generator --help

Environment

Used nx packages:
"@nrwl/cli": "13.2.1",
"@nrwl/devkit": "13.2.1",
"@nrwl/node": "13.2.1",
"@nrwl/tao": "13.2.1",
"@nrwl/workspace": "13.2.1",

@eggp eggp added the type: bug label Nov 29, 2021
@AgentEnder AgentEnder added the scope: misc Misc issues label Dec 7, 2021
@tomastrajan
Copy link

Would be great to get fix for this 👍

@AgentEnder
Copy link
Member

This will be fixed as part of #9116, for generators that are moved over. Docs changes will follow soon after, preferring the use of workspace plugins to workspace generators.

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants