forked from microsoft/PowerShellForGitHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PowerShellForGitHub.psd1
180 lines (155 loc) · 6 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
# 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.8.0'
Description = 'PowerShell wrapper for GitHub API'
# Script module or binary module file associated with this manifest.
RootModule = 'PowerShellForGitHub.psm1'
# 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',
'GitHubCore.ps1',
'GitHubComments.ps1',
'GitHubEvents.ps1',
'GitHubIssues.ps1',
'GitHubLabels.ps1',
'GitHubMilestones.ps1',
'GitHubMiscellaneous.ps1',
'GitHubOrganizations.ps1',
'GitHubPullRequests.ps1',
'GitHubRepositories.ps1',
'GitHubRepositoryForks.ps1',
'GitHubRepositoryTraffic.ps1',
'GitHubTeams.ps1',
'GitHubUsers.ps1',
'NugetTools.ps1',
'Telemetry.ps1')
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '4.0'
# Functions to export from this module
FunctionsToExport = @(
'Add-GitHubIssueLabel',
'Backup-GitHubConfiguration',
'Clear-GitHubAuthentication',
'ConvertFrom-GitHubMarkdown',
'Get-GitHubAssignee',
'Get-GitHubCloneTraffic',
'Get-GitHubCodeOfConduct',
'Get-GitHubComment',
'Get-GitHubConfiguration',
'Get-GitHubEmoji',
'Get-GitHubEvent',
'Get-GitHubGitIgnore',
'Get-GitHubIssue',
'Get-GitHubIssueTimeline',
'Get-GitHubLabel',
'Get-GitHubLicense',
'Get-GitHubMilestone',
'Get-GitHubOrganizationMember',
'Get-GitHubPathTraffic',
'Get-GitHubPullRequest',
'Get-GitHubRateLimit',
'Get-GitHubReferrerTraffic',
'Get-GitHubRepository',
'Get-GitHubRepositoryBranch',
'Get-GitHubRepositoryCollaborator',
'Get-GitHubRepositoryContributor',
'Get-GitHubRepositoryFork',
'Get-GitHubRepositoryLanguage',
'Get-GitHubRepositoryTag',
'Get-GitHubRepositoryTopic',
'Get-GitHubRepositoryUniqueContributor',
'Get-GitHubTeam',
'Get-GitHubTeamMember',
'Get-GitHubUser',
'Get-GitHubUserContextualInformation',
'Get-GitHubViewTraffic',
'Group-GitHubIssue',
'Invoke-GHRestMethod',
'Invoke-GHRestMethodMultipleResult',
'Lock-GitHubIssue',
'Move-GitHubRepositoryOwnership',
'New-GithubAssignee',
'New-GitHubComment',
'New-GitHubIssue',
'New-GitHubLabel',
'New-GitHubMilestone',
'New-GitHubRepository',
'New-GitHubRepositoryFork',
'Remove-GithubAssignee',
'Remove-GitHubComment',
'Remove-GitHubIssueLabel',
'Remove-GitHubLabel',
'Remove-GitHubMilestone',
'Remove-GitHubRepository',
'Reset-GitHubConfiguration',
'Restore-GitHubConfiguration',
'Set-GitHubAuthentication',
'Set-GitHubComment',
'Set-GitHubConfiguration',
'Set-GitHubIssueLabel',
'Set-GitHubLabel',
'Set-GitHubMilestone',
'Set-GitHubRepositoryTopic',
'Split-GitHubUri',
'Test-GitHubAssignee',
'Test-GitHubAuthenticationConfigured',
'Test-GitHubOrganizationMember',
'Unlock-GitHubIssue',
'Update-GitHubCurrentUser',
'Update-GitHubIssue',
'Update-GitHubLabel',
'Update-GitHubRepository'
)
AliasesToExport = @(
'Delete-GitHubComment',
'Delete-GitHubLabel',
'Delete-GitHubMilestone',
'Delete-GitHubRepository',
'Get-GitHubBranch',
'Transfer-GitHubRepositoryOwnership'
)
# 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 = ''
}
}
# 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 = ''
}