-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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): toggle additional prompts in CNW with a flag #9546
feat(core): toggle additional prompts in CNW with a flag #9546
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nrwl/nx-dev/FBLEVT2AnYq7mvJ8MxNnMNtxviiv |
dea456d
to
5a96054
Compare
5a96054
to
377ae4f
Compare
377ae4f
to
5befca0
Compare
5befca0
to
3859b72
Compare
3859b72
to
899e681
Compare
import * as chalk from 'chalk'; | ||
|
||
export const yargsDecorator = { | ||
'Options:': `${chalk.green('Options')}:`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of using an arbitrary colour, what do you think of using chalk.bold()
instead? That way we would respect any terminal theme options.
81b3d0f
to
83c8516
Compare
83c8516
to
fd9adf4
Compare
fd9adf4
to
e4bc22c
Compare
e4bc22c
to
7586cc6
Compare
7586cc6
to
69c6d9b
Compare
69c6d9b
to
83da81d
Compare
83da81d
to
bd2110f
Compare
bd2110f
to
86dee30
Compare
86dee30
to
126448e
Compare
What do you think about mentioning, adding a link to the newly created |
Let me do it in a separate PR. I have also another change @FrozenPandaz and I discussed today:
|
* feat(core): toggle additional prompts in CNW with a flag * feat(repo): handle cli params with yargs * feat(core): add docs generation * chore(repo): add colors * fix(core): migrate to yargs 17.x * fix(core): update markup generation
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. |
defaultBase
andpackageManager
allPrompts
, for toggling the above mentioned promptsyargs
for command definitionCurrent Behavior
Expected Behavior
Related Issue(s)
Fixes #