nx icon indicating copy to clipboard operation
nx copied to clipboard

feat(core): add an option to seperate the output of show with provide…

Open dasco144 opened this issue 9 months ago • 2 comments

…d character

npx nx show projects --affected --type=app --sep "," will output the affected projects with a "," separating each project output

closed #22219

Current Behavior

There is no way to change the separator used, the output of npx nx show projects will list all the projects in the workspace separated by a newline character.

Expected Behavior

providing a string for the "sep" arg will output the projects separated by the provided string

e.g. npx nx show projects --sep "," with projects, foo, bar and baz in the workspace, will output foo,bar,baz

Related Issue(s)

Fixes #22219

dasco144 avatar May 03 '24 17:05 dasco144

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview May 6, 2024 4:04pm

vercel[bot] avatar May 03 '24 17:05 vercel[bot]

Thanks @AgentEnder, appreciate the feedback 🙏

dasco144 avatar May 07 '24 16:05 dasco144

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[bot] avatar May 13 '24 00:05 github-actions[bot]