File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,15 @@ class ScoopAppDetailed {
2525function Find-ScoopApp {
2626 [CmdletBinding ()]
2727 param (
28- [Parameter ()]
28+ [Parameter (Position = 0 ,
29+ ValueFromPipeline ,
30+ ValueFromPipelineByPropertyName )]
2931 [SupportsWildcards ()]
3032 [string []]
3133 $Name = ' *' ,
3234
33- [Parameter ()]
35+ [Parameter (Position = 1 ,
36+ ValueFromPipelineByPropertyName )]
3437 [SupportsWildcards ()]
3538 [string ]
3639 $Bucket = ' *'
@@ -74,6 +77,9 @@ function Find-ScoopApp {
7477function Get-ScoopApp {
7578 [CmdletBinding ()]
7679 param (
80+ [Parameter (Position = 0 ,
81+ ValueFromPipeline ,
82+ ValueFromPipelineByPropertyName )]
7783 [SupportsWildcards ()]
7884 [ValidateNotNullOrEmpty ()]
7985 [string []]
@@ -342,6 +348,9 @@ function Uninstall-ScoopApp {
342348function Get-ScoopBucket {
343349 [CmdletBinding ()]
344350 param (
351+ [Parameter (Position = 0 ,
352+ ValueFromPipeline ,
353+ ValueFromPipelineByPropertyName )]
345354 [SupportsWildcards ()]
346355 [ValidateNotNullOrEmpty ()]
347356 [string []]
You can’t perform that action at this time.
0 commit comments