Skip to content

Commit d1516ae

Browse files
committed
Make list details stable
1 parent 65938a0 commit d1516ae

File tree

7 files changed

+1
-41
lines changed

7 files changed

+1
-41
lines changed

doc/Settings.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -393,30 +393,3 @@ This feature enables support for fonts via `winget settings`. The `winget font l
393393
"fonts": true
394394
},
395395
```
396-
397-
### listDetails
398-
399-
This feature enables support for displaying detailed output from the `list` command. Rather than a table view of the results, when the `--details` option is provided
400-
to the `list` command, it will output information similar to how `show` would. Most of the data presented is directly from the local installation.
401-
402-
Example output:
403-
```PowerShell
404-
> winget list Microsoft.VisualStudio.2022.Enterprise --details
405-
Visual Studio Enterprise 2022 [Microsoft.VisualStudio.2022.Enterprise]
406-
Version: 17.14.21 (November 2025)
407-
Publisher: Microsoft Corporation
408-
Local Identifier: ARP\Machine\X86\875fed29
409-
Product Code: 875fed29
410-
Installer Category: exe
411-
Installed Scope: Machine
412-
Installed Location: C:\Program Files\Microsoft Visual Studio\2022\Enterprise
413-
Available Upgrades:
414-
winget [17.14.23]
415-
```
416-
417-
To enable:
418-
```json
419-
"experimentalFeatures": {
420-
"listDetails": true
421-
},
422-
```

schemas/JSON/settings/settings.schema.0.2.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,6 @@
328328
"description": "Enable support for managing fonts",
329329
"type": "boolean",
330330
"default": false
331-
},
332-
"listDetails": {
333-
"description": "Enable detailed output option for list command",
334-
"type": "boolean",
335-
"default": false
336331
}
337332
}
338333
}

src/AppInstallerCLICore/Argument.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ namespace AppInstaller::CLI
485485
case Args::Type::Correlation:
486486
return Argument{ type, Resource::String::CorrelationArgumentDescription, ArgumentType::Standard, Argument::Visibility::Hidden };
487487
case Args::Type::ListDetails:
488-
return Argument{ type, Resource::String::ListDetailsArgumentDescription, ArgumentType::Flag, Argument::Visibility::Help, ExperimentalFeature::Feature::ListDetails };
488+
return Argument{ type, Resource::String::ListDetailsArgumentDescription, ArgumentType::Flag, Argument::Visibility::Help };
489489
default:
490490
THROW_HR(E_UNEXPECTED);
491491
}

src/AppInstallerCommonCore/ExperimentalFeature.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ namespace AppInstaller::Settings
4444
return userSettings.Get<Setting::EFResume>();
4545
case ExperimentalFeature::Feature::Font:
4646
return userSettings.Get<Setting::EFFonts>();
47-
case ExperimentalFeature::Feature::ListDetails:
48-
return userSettings.Get<Setting::EFListDetails>();
4947
default:
5048
THROW_HR(E_UNEXPECTED);
5149
}
@@ -79,8 +77,6 @@ namespace AppInstaller::Settings
7977
return ExperimentalFeature{ "Resume", "resume", "https://aka.ms/winget-settings", Feature::Resume };
8078
case Feature::Font:
8179
return ExperimentalFeature{ "Font", "fonts", "https://aka.ms/winget-settings", Feature::Font };
82-
case Feature::ListDetails:
83-
return ExperimentalFeature{ "List Details", "listDetails", "https://aka.ms/winget-settings", Feature::ListDetails };
8480
default:
8581
THROW_HR(E_UNEXPECTED);
8682
}

src/AppInstallerCommonCore/Public/winget/ExperimentalFeature.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ namespace AppInstaller::Settings
2525
DirectMSI = 0x1,
2626
Resume = 0x2,
2727
Font = 0x4,
28-
ListDetails = 0x8,
2928
Max, // This MUST always be after all experimental features
3029

3130
// Features listed after Max will not be shown with the features command

src/AppInstallerCommonCore/Public/winget/UserSettings.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ namespace AppInstaller::Settings
7676
EFDirectMSI,
7777
EFResume,
7878
EFFonts,
79-
EFListDetails,
8079
// Telemetry
8180
TelemetryDisable,
8281
// Install behavior
@@ -164,7 +163,6 @@ namespace AppInstaller::Settings
164163
SETTINGMAPPING_SPECIALIZATION(Setting::EFDirectMSI, bool, bool, false, ".experimentalFeatures.directMSI"sv);
165164
SETTINGMAPPING_SPECIALIZATION(Setting::EFResume, bool, bool, false, ".experimentalFeatures.resume"sv);
166165
SETTINGMAPPING_SPECIALIZATION(Setting::EFFonts, bool, bool, false, ".experimentalFeatures.fonts"sv);
167-
SETTINGMAPPING_SPECIALIZATION(Setting::EFListDetails, bool, bool, false, ".experimentalFeatures.listDetails"sv);
168166
// Telemetry
169167
SETTINGMAPPING_SPECIALIZATION(Setting::TelemetryDisable, bool, bool, false, ".telemetry.disable"sv);
170168
// Install behavior

src/AppInstallerCommonCore/UserSettings.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ namespace AppInstaller::Settings
267267
WINGET_VALIDATE_PASS_THROUGH(EFDirectMSI)
268268
WINGET_VALIDATE_PASS_THROUGH(EFResume)
269269
WINGET_VALIDATE_PASS_THROUGH(EFFonts)
270-
WINGET_VALIDATE_PASS_THROUGH(EFListDetails)
271270
WINGET_VALIDATE_PASS_THROUGH(AnonymizePathForDisplay)
272271
WINGET_VALIDATE_PASS_THROUGH(TelemetryDisable)
273272
WINGET_VALIDATE_PASS_THROUGH(InteractivityDisable)

0 commit comments

Comments
 (0)