diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index a6b7ec8cf620..a6c236cd1dd4 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -124,74 +124,74 @@ https://github.com/dotnet/dotnet 1add0c55b8beeb1b1de4d81e362fad8978c4c8c8 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 - + https://github.com/nuget/nuget.client - 795d8b1beea2359a394e30d21f5faddbd3788ac7 + 3326797718ee206580a99e6a042c8d6aae9ec773 https://github.com/dotnet/dotnet diff --git a/eng/Versions.props b/eng/Versions.props index a882d60b1295..9de89f224bff 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -149,18 +149,18 @@ - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 - 7.0.0-preview.1.46 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 + 7.0.0-preview.1.67 diff --git a/test/dotnet.Tests/CompletionTests/snapshots/bash/DotnetCliSnapshotTests.VerifyCompletions.verified.sh b/test/dotnet.Tests/CompletionTests/snapshots/bash/DotnetCliSnapshotTests.VerifyCompletions.verified.sh index bb17d7733ee9..ca2e784ae42c 100644 --- a/test/dotnet.Tests/CompletionTests/snapshots/bash/DotnetCliSnapshotTests.VerifyCompletions.verified.sh +++ b/test/dotnet.Tests/CompletionTests/snapshots/bash/DotnetCliSnapshotTests.VerifyCompletions.verified.sh @@ -1137,13 +1137,24 @@ _testhost_package_update() { prev="${COMP_WORDS[COMP_CWORD-1]}" COMPREPLY=() - opts="--project --help" + opts="--project --interactive --verbosity --help" if [[ $COMP_CWORD == "$1" ]]; then COMPREPLY=( $(compgen -W "$opts" -- "$cur") ) return fi + case $prev in + --interactive) + COMPREPLY=( $(compgen -W "False True" -- "$cur") ) + return + ;; + --verbosity|-v) + COMPREPLY=( $(compgen -W "d detailed diag diagnostic m minimal n normal q quiet" -- "$cur") ) + return + ;; + esac + COMPREPLY=( $(compgen -W "$opts" -- "$cur") ) } diff --git a/test/dotnet.Tests/CompletionTests/snapshots/pwsh/DotnetCliSnapshotTests.VerifyCompletions.verified.ps1 b/test/dotnet.Tests/CompletionTests/snapshots/pwsh/DotnetCliSnapshotTests.VerifyCompletions.verified.ps1 index fffded025fed..efa1b6e01bb6 100644 --- a/test/dotnet.Tests/CompletionTests/snapshots/pwsh/DotnetCliSnapshotTests.VerifyCompletions.verified.ps1 +++ b/test/dotnet.Tests/CompletionTests/snapshots/pwsh/DotnetCliSnapshotTests.VerifyCompletions.verified.ps1 @@ -670,6 +670,9 @@ Register-ArgumentCompleter -Native -CommandName 'testhost' -ScriptBlock { 'testhost;package;update' { $staticCompletions = @( [CompletionResult]::new('--project', '--project', [CompletionResultType]::ParameterName, "Path to a project or solution file, or a directory.") + [CompletionResult]::new('--interactive', '--interactive', [CompletionResultType]::ParameterName, "Allow the command to block and require manual action for operations like authentication.") + [CompletionResult]::new('--verbosity', '--verbosity', [CompletionResultType]::ParameterName, "Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].") + [CompletionResult]::new('--verbosity', '-v', [CompletionResultType]::ParameterName, "Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].") [CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, "Show command line help.") [CompletionResult]::new('--help', '-h', [CompletionResultType]::ParameterName, "Show command line help.") ) diff --git a/test/dotnet.Tests/CompletionTests/snapshots/zsh/DotnetCliSnapshotTests.VerifyCompletions.verified.zsh b/test/dotnet.Tests/CompletionTests/snapshots/zsh/DotnetCliSnapshotTests.VerifyCompletions.verified.zsh index 21ed53e514ef..fd33db29178e 100644 --- a/test/dotnet.Tests/CompletionTests/snapshots/zsh/DotnetCliSnapshotTests.VerifyCompletions.verified.zsh +++ b/test/dotnet.Tests/CompletionTests/snapshots/zsh/DotnetCliSnapshotTests.VerifyCompletions.verified.zsh @@ -668,6 +668,9 @@ _testhost() { (update) _arguments "${_arguments_options[@]}" : \ '--project=[Path to a project or solution file, or a directory.]: : ' \ + '--interactive=[Allow the command to block and require manual action for operations like authentication.]: :((False\:"False" True\:"True" ))' \ + '--verbosity=[Set the verbosity level of the command. Allowed values are q\[uiet\], m\[inimal\], n\[ormal\], d\[etailed\], and diag\[nostic\].]: :((d\:"d" detailed\:"detailed" diag\:"diag" diagnostic\:"diagnostic" m\:"m" minimal\:"minimal" n\:"n" normal\:"normal" q\:"q" quiet\:"quiet" ))' \ + '-v=[Set the verbosity level of the command. Allowed values are q\[uiet\], m\[inimal\], n\[ormal\], d\[etailed\], and diag\[nostic\].]: :((d\:"d" detailed\:"detailed" diag\:"diag" diagnostic\:"diagnostic" m\:"m" minimal\:"minimal" n\:"n" normal\:"normal" q\:"q" quiet\:"quiet" ))' \ '--help[Show command line help.]' \ '-h[Show command line help.]' \ '*::packages -- Package reference in the form of a package identifier like '\''Newtonsoft.Json'\'' or package identifier and version separated by '\''@'\'' like '\''Newtonsoft.Json@13.0.3'\''.: ' \