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
[CompletionResult]::new('run','run', [CompletionResultType]::ParameterValue,"Run a local tool. Note that this command cannot be used to run a global tool. ")
960
960
[CompletionResult]::new('search','search', [CompletionResultType]::ParameterValue,"Search dotnet tools in nuget.org")
961
961
[CompletionResult]::new('restore','restore', [CompletionResultType]::ParameterValue,"Restore tools defined in the local tool manifest.")
962
-
[CompletionResult]::new('execute','execute', [CompletionResultType]::ParameterValue,"Execute a tool command from source")
963
-
[CompletionResult]::new('execute','exec', [CompletionResultType]::ParameterValue,"Execute a tool command from source")
962
+
[CompletionResult]::new('execute','execute', [CompletionResultType]::ParameterValue,"Executes a tool from source without permanently installing it.")
963
+
[CompletionResult]::new('execute','exec', [CompletionResultType]::ParameterValue,"Executes a tool from source without permanently installing it.")
[CompletionResult]::new('--version','--version', [CompletionResultType]::ParameterName,"The version of the tool package to install.")
1100
+
[CompletionResult]::new('--yes','--yes', [CompletionResultType]::ParameterName,"Suppresses confirmation prompt with `"yes`" value.")
1101
+
[CompletionResult]::new('--yes','-y', [CompletionResultType]::ParameterName,"Suppresses confirmation prompt with `"yes`" value.")
1102
+
[CompletionResult]::new('--interactive','--interactive', [CompletionResultType]::ParameterName,"Allows the command to stop and wait for user input or action (for example to complete authentication).")
1100
1103
[CompletionResult]::new('--allow-roll-forward','--allow-roll-forward', [CompletionResultType]::ParameterName,"Allow a .NET tool to roll forward to newer versions of the .NET runtime if the runtime it targets isn`'t installed.")
[CompletionResult]::new('--configfile','--configfile', [CompletionResultType]::ParameterName,"The NuGet configuration file to use.")
1103
1106
[CompletionResult]::new('--source','--source', [CompletionResultType]::ParameterName,"Replace all NuGet package sources to use during installation with these.")
1104
1107
[CompletionResult]::new('--add-source','--add-source', [CompletionResultType]::ParameterName,"Add an additional NuGet package source to use during installation.")
1108
+
[CompletionResult]::new('--disable-parallel','--disable-parallel', [CompletionResultType]::ParameterName,"Prevent restoring multiple projects in parallel.")
1105
1109
[CompletionResult]::new('--ignore-failed-sources','--ignore-failed-sources', [CompletionResultType]::ParameterName,"Treat package source failures as warnings.")
1106
-
[CompletionResult]::new('--interactive','--interactive', [CompletionResultType]::ParameterName,"Allows the command to stop and wait for user input or action (for example to complete authentication).")
1107
-
[CompletionResult]::new('--yes','--yes', [CompletionResultType]::ParameterName,"Overrides confirmation prompt with `"yes`" value. ")
1108
-
[CompletionResult]::new('--yes','-y', [CompletionResultType]::ParameterName,"Overrides confirmation prompt with `"yes`" value. ")
1110
+
[CompletionResult]::new('--no-http-cache','--no-http-cache', [CompletionResultType]::ParameterName,"Do not cache packages and http requests.")
1109
1111
[CompletionResult]::new('--verbosity','--verbosity', [CompletionResultType]::ParameterName,"Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].")
1110
1112
[CompletionResult]::new('--verbosity','-v', [CompletionResultType]::ParameterName,"Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].")
1111
1113
[CompletionResult]::new('--help','--help', [CompletionResultType]::ParameterName,"Show command line help.")
Copy file name to clipboardExpand all lines: test/dotnet.Tests/CompletionTests/snapshots/zsh/DotnetCliSnapshotTests.VerifyCompletions.verified.zsh
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1130,7 +1130,7 @@ _testhost() {
1130
1130
'--help[Show command line help.]' \
1131
1131
'-h[Show command line help.]' \
1132
1132
':commandName -- The command name of the tool to run.: ' \
1133
-
'*::toolArguments -- arguments forwarded to the tool: ' \
1133
+
'*::toolArguments -- Arguments forwarded to the tool: ' \
1134
1134
&& ret=0
1135
1135
;;
1136
1136
(search)
@@ -1162,21 +1162,23 @@ _testhost() {
1162
1162
(execute)
1163
1163
_arguments "${_arguments_options[@]}": \
1164
1164
'--version=[The version of the tool package to install.]:VERSION: ' \
1165
+
'--yes[Suppresses confirmation prompt with \"yes\" value.]' \
1166
+
'-y[Suppresses confirmation prompt with \"yes\" value.]' \
1167
+
'--interactive[Allows the command to stop and wait for user input or action (for example to complete authentication).]' \
1165
1168
'--allow-roll-forward[Allow a .NET tool to roll forward to newer versions of the .NET runtime if the runtime it targets isn'\''t installed.]' \
1166
1169
'--prerelease[Include pre-release packages.]' \
1167
1170
'--configfile=[The NuGet configuration file to use.]:FILE: ' \
1168
1171
'*--source=[Replace all NuGet package sources to use during installation with these.]:SOURCE: ' \
1169
1172
'*--add-source=[Add an additional NuGet package source to use during installation.]:ADDSOURCE: ' \
1173
+
'--disable-parallel[Prevent restoring multiple projects in parallel.]' \
1170
1174
'--ignore-failed-sources[Treat package source failures as warnings.]' \
1171
-
'--interactive[Allows the command to stop and wait for user input or action (for example to complete authentication).]' \
1172
-
'--yes[Overrides confirmation prompt with \"yes\" value. ]' \
1173
-
'-y[Overrides confirmation prompt with \"yes\" value. ]' \
1175
+
'--no-http-cache[Do not cache packages and http requests.]' \
1174
1176
'--verbosity=[Set the MSBuild verbosity level. Allowed values are q\[uiet\], m\[inimal\], n\[ormal\], d\[etailed\], and diag\[nostic\].]:LEVEL:((d\:"d" detailed\:"detailed" diag\:"diag" diagnostic\:"diagnostic" m\:"m" minimal\:"minimal" n\:"n" normal\:"normal" q\:"q" quiet\:"quiet" ))' \
1175
1177
'-v=[Set the MSBuild verbosity level. Allowed values are q\[uiet\], m\[inimal\], n\[ormal\], d\[etailed\], and diag\[nostic\].]:LEVEL:((d\:"d" detailed\:"detailed" diag\:"diag" diagnostic\:"diagnostic" m\:"m" minimal\:"minimal" n\:"n" normal\:"normal" q\:"q" quiet\:"quiet" ))' \
1176
1178
'--help[Show command line help.]' \
1177
1179
'-h[Show command line help.]' \
1178
1180
':packageId -- Package reference in the form of a package identifier like '\''Newtonsoft.Json'\'' or package identifier and version separated by '\''@'\'' like '\''[email protected]'\''.:->dotnet_dynamic_complete' \
1179
-
'*::commandArguments -- arguments forwarded to the tool: ' \
1181
+
'*::commandArguments -- Arguments forwarded to the tool: ' \
0 commit comments