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
{{ message }}
Repository navigation
Commit ff8fb1b
Browse filesBrowse the repository at this point in the historyBrowse files
RelaxDeadlines constant.RelaxDeadlines`optional:"" placeholder:"MS" help:"Relax network deadlines for this command. Omit a value to triple the configured budgets, or pass milliseconds."`
Copy file name to clipboardExpand all lines: src/commands/install/install.go
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,20 @@ import (
10
10
)
11
11
12
12
typeInstallstruct {
13
-
CopyFromstring`flag:"copy-from" help:"Copy the global modules from an existing Node.js installation to the new installation. This does affect the original version and does not verify module compatibility with the new version." placeholder:"VERSION"`
14
-
Fromstring`flag:"from" help:"Install global modules from the list of modules installed in an another Node.js version." placeholder:"VERSION"`
15
-
Notifybool`flag:"notify" hidden:"true" help:"Notify user when a version has been automatically installed."`
16
-
Cachebool`flag:"cache" help:"Save the download (offline cache)."`
17
-
NoCachebool`flag:"no-cache" help:"Install without caching. This is the default unless configured to always cache downloads."`
18
-
Forcebool`flag:"force" help:"Force (re)install if the version already exists."`
19
-
Debugbool`flag:"debug" hidden:"true" help:"Write timing logs to the install directory for debugging."`
20
-
Insecurebool`flag:"insecure" help:"Accept invalid TLS/SSL certs from download sources."`
13
+
CopyFromstring`flag:"copy-from" help:"Copy the global modules from an existing Node.js installation to the new installation. This does affect the original version and does not verify module compatibility with the new version." placeholder:"VERSION"`
14
+
Fromstring`flag:"from" help:"Install global modules from the list of modules installed in an another Node.js version." placeholder:"VERSION"`
15
+
Notifybool`flag:"notify" hidden:"true" help:"Notify user when a version has been automatically installed."`
16
+
Cachebool`flag:"cache" help:"Save the download (offline cache)."`
17
+
NoCachebool`flag:"no-cache" help:"Install without caching. This is the default unless configured to always cache downloads."`
18
+
Forcebool`flag:"force" help:"Force (re)install if the version already exists."`
19
+
Debugbool`flag:"debug" hidden:"true" help:"Write timing logs to the install directory for debugging."`
20
+
Insecurebool`flag:"insecure" help:"Accept invalid TLS/SSL certs from download sources."`
21
+
RelaxDeadlines constant.RelaxDeadlines`optional:"" placeholder:"MS" help:"Relax network deadlines for this command. Omit a value to triple the configured budgets, or pass milliseconds."`
Copy file name to clipboardExpand all lines: src/commands/sync.go
+25-5Lines changed: 25 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,15 @@ func (s *Upgrade) Run() error {
49
49
}
50
50
51
51
typeDoctorstruct {
52
-
Checks []string`arg:"" optional:"" help:"Specific checks to run. If not specified, all checks will be run."`
53
-
Autofixbool`flag:"autofix" help:"Automatically fix issues when possible."`
54
-
Listbool`flag:"list" help:"List all available checks without running them."`
55
-
Updatebool`flag:"update" help:"Force sync utility asset update before running checks."`
56
-
Forcebool`flag:"force" help:"When upgrading, do not warn about processes that will be closed."`
52
+
Checks []string`arg:"" optional:"" help:"Specific checks to run. If not specified, all checks will be run."`
53
+
Autofixbool`flag:"autofix" help:"Automatically fix issues when possible."`
54
+
Listbool`flag:"list" help:"List all available checks without running them."`
55
+
Updatebool`flag:"update" help:"Force sync utility asset update before running checks."`
56
+
Forcebool`flag:"force" help:"When upgrading, do not warn about processes that will be closed."`
57
+
RelaxDeadlines constant.RelaxDeadlines`optional:"" placeholder:"MS" help:"Relax network deadlines for this command. Omit a value to triple the configured budgets, or pass milliseconds."`
58
+
MeasureDeadlinesbool`flag:"measure-deadlines" help:"Time each download source and print min, average, and max."`
59
+
MeasureCountint`flag:"measure-count" default:"3" help:"How many times to repeat each deadline measurement."`
60
+
AutoDeadlinesbool`flag:"auto-deadlines" help:"Measure deadlines and save HKCU values from the results."`
0 commit comments