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
Copy file name to clipboardExpand all lines: custom-completions/winget/winget-completions.nu
+109Lines changed: 109 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -342,6 +342,115 @@ export def "winget list" [
342
342
}
343
343
export alias"winget ls"=wingetlist
344
344
345
+
# Add a pin. This subcommand requires that you specify the exact package to pin. If there is any ambiguity, you will be prompted to further filter the add subcommand to an exact application.
346
+
export extern"winget pin add" [
347
+
query?: string,
348
+
--query(-q): string, # The query used to search for a package
349
+
--id: string, # Limit search by ID
350
+
--name: string, # Limit search by name
351
+
--moniker: string, # Limit search by moniker listed
352
+
--tag: string# Limit search by tag listed
353
+
--cmd: string# Limit search by command
354
+
--command: string# Limit search by command
355
+
--exact(-e), # Uses exact query string
356
+
--version(-v): string, # Pin exact version, wildcard * can be used as last part, changes pin behavior to gating
357
+
--source(-s): string@"nu-complete winget install source", # Restrict search to source
# Remove a pin. This subcommand requires that you specify the exact package pin to remove. If there is any ambiguity, you will be prompted to further filter the remove subcommand to an exact application.
379
+
export extern"winget pin remove" [
380
+
query?: string,
381
+
--query(-q): string, # The query used to search for a package
382
+
--id: string, # Limit search by ID
383
+
--name: string, # Limit search by name
384
+
--moniker: string, # Limit search by moniker listed
385
+
--source(-s): string@"nu-complete winget install source", # Restrict search to source
0 commit comments