We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d6a6c7 commit 3ae2503Copy full SHA for 3ae2503
1 file changed
cli/src/cli.ts
@@ -2,6 +2,7 @@
2
import process from 'node:process'
3
import { spawn } from 'node:child_process'
4
import * as p from '@clack/prompts'
5
+import pc from 'picocolors'
6
import { defineCommand, runMain } from 'citty'
7
import { listen } from 'listhen'
8
import { toNodeListener } from 'h3'
@@ -47,10 +48,12 @@ const main = defineCommand({
47
48
initLogger()
49
50
// Warning message and accept prompt
- logWarning('This allows npmx to access your npm cli and any authenticated contexts.')
51
+ logWarning(
52
+ `This allows ${pc.underline('npmx.dev')} to access your npm cli and any authenticated contexts.`,
53
+ )
54
const accept = await p.confirm({
55
message: 'Do you accept?',
- initialValue: false,
56
+ initialValue: true,
57
})
58
59
if (!accept || p.isCancel(accept)) {
0 commit comments