18 lines
657 B
PowerShell
18 lines
657 B
PowerShell
function Get-ValidPackageManifestFilenames {
|
|
<#
|
|
.SYNOPSIS
|
|
Get the list of valid manifest file names
|
|
The idea is that if we add more support (see Get-PackageManifest) for additional types, we can add them to this list for iteration.
|
|
Ideally we could make that function lookup-aware on how to get packages, but that would require a synchronized credential for feeds that require credentialized access.
|
|
We can accomplish this with a future pattern, but for now, we default to the choco libs
|
|
#>
|
|
[CmdletBinding()]
|
|
[OutputType([string[]])]
|
|
param (
|
|
)
|
|
|
|
return @(
|
|
'AlkamiManifest.xml'
|
|
'AlkamiManifest.json'
|
|
)
|
|
} |