Skip to content

Commit b84adac

Browse files
Fix
1 parent f3a5653 commit b84adac

File tree

4 files changed

+14
-25
lines changed

4 files changed

+14
-25
lines changed
Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,13 @@
11
@{
2-
# Author of this module
3-
Author = 'Marius Storhaug'
4-
5-
# Description of the functionality provided by this module
62
Description = 'A PowerShell module for managing the PowerShell Gallery.'
7-
8-
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
93
PrivateData = @{
10-
114
PSData = @{
12-
13-
# Tags applied to this module. These help with module discovery in online galleries.
145
Tags = 'PowerShellGallery', 'Environment', 'PowerShell', 'Module'
15-
16-
# A URL to the license for this module.
176
LicenseUri = 'https://github.com/PSModule/PowerShellGallery/blob/main/LICENSE'
18-
19-
# A URL to the main website for this project.
207
ProjectUri = 'https://github.com/PSModule/PowerShellGallery'
21-
22-
# A URL to an icon representing this module.
238
IconUri = 'https://raw.githubusercontent.com/PSModule/PowerShellGallery/main/icon/PowerShell_Core_6.0_icon.png'
24-
25-
} # End of PSData hashtable
26-
27-
} # End of PrivateData hashtable
28-
29-
# HelpInfo URI of this module
9+
}
10+
}
3011
HelpInfoURI = 'https://PSModule.github.io/PowerShellGallery'
31-
3212
}
3313

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
function Get-PSGalleryAPI {
2+
<#
3+
.SYNOPSIS
4+
Get the PowerShell Gallery API.
5+
#>
6+
[CmdletBinding()]
7+
param()
8+
29
Invoke-RestMethod -Method Get -Uri https://www.powershellgallery.com/api/v2/ -ContentType 'application/json'
310
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
function List-PowerShellGalleryItem {
1+
function Show-PowerShellGalleryItem {
22
<#
33
.SYNOPSIS
44
List a package on the PowerShell Gallery.
55
#>
66
[CmdletBinding()]
7+
[Alias('List-PowerShellGalleryItem')]
78
param ()
89

9-
Write-Warning "This cmdlet is not yet implemented."
10+
Write-Warning 'This cmdlet is not yet implemented.'
1011

1112
}

src/PowerShellGallery/public/Unlist-PowerShellGalleryItem.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
function Unlist-PowerShellGalleryItem {
1+
function Hide-PowerShellGalleryItem {
22
<#
33
.SYNOPSIS
44
Unlist a package on the PowerShell Gallery.
55
#>
66
[CmdletBinding()]
7+
[Alias('Unlist-PowerShellGalleryItem')]
78
param ()
89

910
Write-Warning 'This cmdlet is not yet implemented.'

0 commit comments

Comments
 (0)