mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-31 14:17:45 +00:00
Fix winget show
completions (#1091)
Update `winget show` completions according to official docs at https://learn.microsoft.com/en-us/windows/package-manager/winget/show Sort flags like official documentation. Remove multiple flags which seemingly come from `winget install`; presumably a copy-paste error when originally implementing this command.
This commit is contained in:
parent
0b4a1a62a0
commit
123cc5f505
1 changed files with 17 additions and 8 deletions
|
@ -172,24 +172,33 @@ export alias "winget add" = winget install
|
||||||
export extern "winget show" [
|
export extern "winget show" [
|
||||||
pos_query?: string,
|
pos_query?: string,
|
||||||
--query(-q): string, # The query used to search for a package
|
--query(-q): string, # The query used to search for a package
|
||||||
|
--manifest(-m): string # The path to the manifest of the application to show
|
||||||
--id: string, # Filter results by id
|
--id: string, # Filter results by id
|
||||||
--name: string, # Filter results by name
|
--name: string, # Filter results by name
|
||||||
--moniker: string, # Filter results by moniker
|
--moniker: string, # Filter results by moniker
|
||||||
--version(-v): string, # Use the specified version; default is the latest version
|
--version(-v): string, # Use the specified version; default is the latest version
|
||||||
--source(-s): string@"nu-complete winget install source", # Find package using the specified source
|
--source(-s): string@"nu-complete winget install source", # Find package using the specified source
|
||||||
--scope: string@"nu-complete winget install scope", # Select install scope (user or machine). Doesn't work rn, use ^winget
|
|
||||||
--exact(-e), # Find package using exact match
|
--exact(-e), # Find package using exact match
|
||||||
--interactive(-i), # Request interactive installation; user input may be needed
|
--scope: string@"nu-complete winget install scope", # Select install scope (user or machine). Doesn't work rn, use ^winget
|
||||||
--silent(-h), # Request silent installation
|
--architecture(-a): string # Select the architecture to show
|
||||||
|
--installer-type: string # Select the installer type to show
|
||||||
--locale: string@"nu-complete winget install locale", # Locale to use (BCP47 format)
|
--locale: string@"nu-complete winget install locale", # Locale to use (BCP47 format)
|
||||||
--log(-o): path, # Log location (if supported)
|
--versions # Show available versions of the application
|
||||||
--override: string, # Override arguments to be passed on to the installer
|
|
||||||
--location(-l): path, # Location to install to (if supported)
|
|
||||||
--force, # Override the installer hash check
|
|
||||||
--accept_package_agreements, # Accept all licence agreements for packages
|
|
||||||
--header: string, # Optional Windows-Package-Manager REST source HTTP header
|
--header: string, # Optional Windows-Package-Manager REST source HTTP header
|
||||||
|
--authentication-mode: string # Specify authentication window preference (silent, silentPreferred or interactive)
|
||||||
|
--authentication-account: string # Specify the account to be used for authentication
|
||||||
--accept_source_agreements, # Accept all source agreements during source operations
|
--accept_source_agreements, # Accept all source agreements during source operations
|
||||||
--help(-?), # Display the help for this command
|
--help(-?), # Display the help for this command
|
||||||
|
--wait # Prompts the user to press any key before exiting
|
||||||
|
--logs # Open the default logs location
|
||||||
|
--open-logs # Open the default logs location
|
||||||
|
--verbose # Used to override the logging setting and create a verbose log
|
||||||
|
--verbose-logs # Used to override the logging setting and create a verbose log
|
||||||
|
--nowarn # Suppresses warning outputs.
|
||||||
|
--ignore-warnings # Suppresses warning outputs
|
||||||
|
--disable-interactivity # Disable interactive prompts
|
||||||
|
--proxy # Set a proxy to use for this execution
|
||||||
|
--no-proxy # Disable the use of proxy for this execution
|
||||||
]
|
]
|
||||||
export alias "winget view" = winget show
|
export alias "winget view" = winget show
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue