You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/nv
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,14 @@ require('yargs')
27
27
type: 'boolean',
28
28
description: 'show version number only'
29
29
})
30
+
yargs.option('engines',{
31
+
type: 'string',
32
+
description: 'read the value of `engines.node`. if a value is provided, and it satisfies, the version is shown; if not, the max satisfying version is shown'
0 commit comments