Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion custom-completions/winget/winget-completions.nu
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ export def "winget list" [
--exact(-e), # Find package using exact match
--header: string, # Optional Windows-Package-Manager REST source HTTP header
--accept_source_agreements, # Accept all source agreements during source operations
--upgrade_available # Filter results by available upgrade
--raw, # Output the raw CLI output instead of structured data
--help(-?) # Display the help for this command
] {
Expand All @@ -315,8 +316,9 @@ export def "winget list" [
(do $flagify exact $exact)
(do $flagify header $header)
(do $flagify accept_source_agreements $accept_source_agreements)
(do $flagify upgrade-available $upgrade_available)
(do $flagify help $help)
]
]
| flatten
| where { not ($in | is-empty) })
)
Expand Down