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

feat(core): print normalized generate command to the terminal #9840

Closed

Conversation

leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented Apr 14, 2022

Current Behavior

The normalized generate command that is run by Nx is not printed to the terminal.

When running:

nx g lib lib1

Nx under the hood normalizes the arguments received. Assuming the default collection is @nrwl/angular (or it's selected in the prompt), it will transform the above into:

nx generate @nrwl/angular:library lib1

It would be helpful to print the full normalized command to the terminal for clarity on what's being run.

Expected Behavior

The normalized generate command is printed to the terminal.

Related Issue(s)

Fixes #

@nx-cloud
Copy link

nx-cloud bot commented Apr 14, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 4b27d2f. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 12 targets

Sent with 💌 from NxCloud.

@vercel
Copy link

vercel bot commented Apr 14, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nrwl/nx-dev/4m9BH2BggA9s3Q4Fp3WJa3PhXGgq
✅ Preview: Ignored

[Deployment for 48dddd2 canceled]

@vercel
Copy link

vercel bot commented May 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nx-dev ✅ Ready (Inspect) Visit Preview May 31, 2022 at 9:37AM (UTC)

@leosvelperez
Copy link
Member Author

Closing since a similar feature was added in #10463.

@leosvelperez leosvelperez deleted the core/print-generate-command branch June 2, 2022 12:28
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

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

Successfully merging this pull request may close these issues.

None yet

1 participant