-
Notifications
You must be signed in to change notification settings - Fork 188
/
PowerShellForGitHub.psd1
320 lines (295 loc) · 11.2 KB
/
PowerShellForGitHub.psd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
@{
GUID = '9e8dfd44-f782-445a-883c-70614f71519c'
Author = 'Microsoft Corporation'
CompanyName = 'Microsoft Corporation'
Copyright = 'Copyright (C) Microsoft Corporation. All rights reserved.'
ModuleVersion = '0.17.0'
Description = 'PowerShell wrapper for GitHub API'
# Script module or binary module file associated with this manifest.
RootModule = 'PowerShellForGitHub.psm1'
# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @(
'Formatters/GitHubBranches.Format.ps1xml',
'Formatters/GitHubCodespaces.Format.ps1xml',
'Formatters/GitHubDeployments.Format.ps1xml',
'Formatters/GitHubGistComments.Format.ps1xml',
'Formatters/GitHubGists.Format.ps1xml',
'Formatters/GitHubReleases.Format.ps1xml'
'Formatters/GitHubRepositories.Format.ps1xml'
'Formatters/GitHubTeams.Format.ps1xml'
)
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
NestedModules = @(
# Ideally this list would be kept completely alphabetical, but other scripts (like
# GitHubConfiguration.ps1) depend on some of the code in Helpers being around at load time.
'Helpers.ps1',
'GitHubConfiguration.ps1',
'GitHubAnalytics.ps1',
'GitHubAssignees.ps1',
'GitHubBranches.ps1',
'GitHubCodespaces.ps1',
'GitHubCore.ps1',
'GitHubContents.ps1',
'GitHubEvents.ps1',
'GitHubGistComments.ps1',
'GitHubGists.ps1',
'GitHubGraphQl.ps1',
'GitHubIssueComments.ps1',
'GitHubIssues.ps1',
'GitHubLabels.ps1',
'GitHubMilestones.ps1',
'GitHubMiscellaneous.ps1',
'GitHubOrganizations.ps1',
'GitHubProjects.ps1',
'GitHubProjectCards.ps1',
'GitHubProjectColumns.ps1',
'GitHubPullRequests.ps1',
'GitHubReactions.ps1',
'GitHubReleases.ps1',
'GitHubRepositories.ps1',
'GitHubRepositoryForks.ps1',
'GitHubRepositoryTraffic.ps1',
'GitHubTeams.ps1',
'GitHubUsers.ps1',
'GitHubDeployments.ps1',
'Telemetry.ps1',
'UpdateCheck.ps1')
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '4.0'
# Functions to export from this module
FunctionsToExport = @(
'Add-GitHubAssignee',
'Add-GitHubIssueLabel',
'Add-GitHubGistStar',
'Backup-GitHubConfiguration',
'Clear-GitHubAuthentication',
'ConvertFrom-GitHubMarkdown',
'Copy-GitHubGist',
'Disable-GitHubRepositorySecurityFix',
'Disable-GitHubRepositoryVulnerabilityAlert',
'Enable-GitHubRepositorySecurityFix',
'Enable-GitHubRepositoryVulnerabilityAlert',
'Get-GitHubAssignee',
'Get-GitHubCloneTraffic',
'Get-GitHubCodeOfConduct',
'Get-GitHubCodespace',
'Get-GitHubConfiguration',
'Get-GitHubContent',
'Get-GitHubDeploymentEnvironment',
'Get-GitHubEmoji',
'Get-GitHubEvent',
'Get-GitHubGist',
'Get-GitHubGistComment',
'Get-GitHubGitIgnore',
'Get-GitHubIssue',
'Get-GitHubIssueComment',
'Get-GitHubIssueTimeline',
'Get-GitHubLabel',
'Get-GitHubLicense',
'Get-GitHubMilestone',
'Get-GitHubOrganizationMember',
'Get-GitHubPathTraffic',
'Get-GitHubProject',
'Get-GitHubProjectCard',
'Get-GitHubProjectColumn',
'Get-GitHubPullRequest',
'Get-GitHubRateLimit',
'Get-GitHubReaction',
'Get-GitHubReferrerTraffic',
'Get-GitHubRelease',
'Get-GitHubReleaseAsset',
'Get-GitHubRepository',
'Get-GitHubRepositoryActionsPermission',
'Get-GitHubRepositoryBranch',
'Get-GitHubRepositoryBranchPatternProtectionRule',
'Get-GitHubRepositoryBranchProtectionRule',
'Get-GitHubRepositoryCollaborator',
'Get-GitHubRepositoryContributor',
'Get-GitHubRepositoryFork',
'Get-GitHubRepositoryLanguage',
'Get-GitHubRepositoryTag',
'Get-GitHubRepositoryTeamPermission',
'Get-GitHubRepositoryTopic',
'Get-GitHubRepositoryUniqueContributor',
'Get-GitHubTeam',
'Get-GitHubTeamMember',
'Get-GitHubUser',
'Get-GitHubUserContextualInformation',
'Get-GitHubViewTraffic',
'Group-GitHubIssue',
'Group-GitHubPullRequest',
'Initialize-GitHubLabel',
'Invoke-GHGraphQl',
'Invoke-GHRestMethod',
'Invoke-GHRestMethodMultipleResult',
'Join-GitHubUri',
'Lock-GitHubIssue',
'Move-GitHubProjectCard',
'Move-GitHubProjectColumn',
'Move-GitHubRepositoryOwnership',
'New-GitHubCodespace',
'New-GitHubDeploymentEnvironment',
'New-GitHubGist',
'New-GitHubGistComment',
'New-GitHubIssue',
'New-GitHubIssueComment',
'New-GitHubLabel',
'New-GitHubMilestone',
'New-GitHubProject',
'New-GitHubProjectCard',
'New-GitHubProjectColumn',
'New-GitHubPullRequest',
'New-GitHubRelease',
'New-GitHubReleaseAsset',
'New-GitHubRepository',
'New-GitHubRepositoryFromTemplate',
'New-GitHubRepositoryBranch',
'New-GitHubRepositoryBranchPatternProtectionRule',
'New-GitHubRepositoryBranchProtectionRule',
'New-GitHubRepositoryFork',
'New-GitHubTeam',
'Remove-GitHubAssignee',
'Remove-GitHubCodespace',
'Remove-GitHubComment',
'Remove-GitHubDeploymentEnvironment'
'Remove-GitHubGist',
'Remove-GitHubGistComment',
'Remove-GitHubGistFile',
'Remove-GitHubGistStar',
'Remove-GitHubIssueComment',
'Remove-GitHubIssueLabel',
'Remove-GitHubLabel',
'Remove-GitHubMilestone',
'Remove-GitHubProject',
'Remove-GitHubProjectCard',
'Remove-GitHubProjectColumn',
'Remove-GitHubReaction',
'Remove-GitHubRelease',
'Remove-GitHubReleaseAsset',
'Remove-GitHubRepository',
'Remove-GitHubRepositoryBranch'
'Remove-GitHubRepositoryBranchPatternProtectionRule',
'Remove-GitHubRepositoryBranchProtectionRule',
'Remove-GitHubRepositoryTeamPermission',
'Remove-GitHubTeam',
'Rename-GitHubGistFile',
'Rename-GitHubRepository',
'Rename-GitHubTeam',
'Reset-GitHubConfiguration',
'Restore-GitHubConfiguration',
'Set-GitHubAuthentication',
'Set-GitHubConfiguration',
'Set-GitHubContent',
'Set-GitHubGist',
'Set-GitHubGistComment',
'Set-GitHubGistFile',
'Set-GitHubGistStar',
'Set-GitHubIssue',
'Set-GitHubIssueComment',
'Set-GitHubIssueLabel',
'Set-GitHubLabel',
'Set-GitHubMilestone',
'Set-GitHubProfile',
'Set-GitHubProject',
'Set-GitHubProjectCard',
'Set-GitHubProjectColumn',
'Set-GitHubReaction',
'Set-GitHubRelease',
'Set-GitHubReleaseAsset',
'Set-GitHubRepository',
'Set-GitHubRepositoryActionsPermission',
'Set-GitHubRepositoryTeamPermission',
'Set-GitHubRepositoryTopic',
'Set-GitHubTeam',
'Split-GitHubUri',
'Start-GitHubCodespace',
'Stop-GitHubCodespace',
'Test-GitHubAssignee',
'Test-GitHubAuthenticationConfigured',
'Test-GitHubGistStar',
'Test-GitHubOrganizationMember',
'Test-GitHubRepositoryVulnerabilityAlert',
'Unlock-GitHubIssue'
)
AliasesToExport = @(
'Add-GitHubGistFile',
'Delete-GitHubAsset',
'Delete-GitHubBranch',
'Delete-GitHubComment',
'Delete-GitHubDeploymentEnvironment',
'Delete-GitHubGist',
'Delete-GitHubGistComment',
'Delete-GitHubGistFile',
'Delete-GitHubIssueComment',
'Delete-GitHubLabel',
'Delete-GitHubMilestone',
'Delete-GitHubProject',
'Delete-GitHubProjectCard',
'Delete-GitHubProjectColumn'
'Delete-GitHubReaction',
'Delete-GitHubRelease',
'Delete-GitHubReleaseAsset',
'Delete-GitHubRepository',
'Delete-GitHubRepositoryBranch',
'Delete-GitHubRepositoryBranchPatternProtectionRule',
'Delete-GitHubRepositoryBranchProtectionRule',
'Delete-GitHubRepositoryTeamPermission',
'Delete-GitHubTeam',
'Fork-GitHubGist',
'Get-GitHubAsset',
'Get-GitHubBranch',
'Get-GitHubComment',
'New-GitHubAsset',
'New-GitHubAssignee',
'New-GitHubBranch',
'New-GitHubComment',
'Remove-GitHubAsset',
'Remove-GitHubBranch'
'Remove-GitHubComment',
'Set-GitHubAsset',
'Set-GitHubComment',
'Set-GitHubDeploymentEnvironment',
'Star-GitHubGist',
'Transfer-GitHubRepositoryOwnership'
'Unstar-GitHubGist'
'Update-GitHubIssue',
'Update-GitHubLabel',
'Update-GitHubCurrentUser',
'Update-GitHubRepository'
)
# Cmdlets to export from this module
# CmdletsToExport = '*'
# Variables to export from this module
# VariablesToExport = '*'
# 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.
PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
Tags = @('GitHub', 'API', 'PowerShell')
# A URL to the license for this module.
LicenseUri = 'https://aka.ms/PowerShellForGitHub_License'
# A URL to the main website for this project.
ProjectUri = 'https://aka.ms/PowerShellForGitHub'
# A URL to an icon representing this module.
# IconUri = ''
# ReleaseNotes of this module
ReleaseNotes = 'https://github.com/microsoft/PowerShellForGitHub/blob/master/CHANGELOG.md'
}
}
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = 'GH'
# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()
# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
# List of all modules packaged with this module
# ModuleList = @()
# List of all files packaged with this module
# FileList = @()
# HelpInfo URI of this module
# HelpInfoURI = ''
}