GitlabCli.psd1
@{ ModuleVersion = '1.27.2' GUID = '220fdbee-bea7-4951-9375-f6e76bd981b4' Author = 'Chris Peterson' CompanyName = 'Chris Peterson' Copyright = '(c) 2021' Description = 'Interact with GitLab via PowerShell' PowerShellVersion = '7.1' ScriptsToProcess = @('_Init.ps1') TypesToProcess = @('Types.ps1xml') FormatsToProcess = @('Formats.ps1xml') NestedModules = @( 'Branches.psm1' 'Config.psm1' 'Deployments.psm1' 'Environments.psm1' 'Git.psm1' 'Groups.psm1' 'Issues.psm1' 'Jobs.psm1' 'MergeRequests.psm1' 'Pipelines.psm1' 'Projects.psm1' 'RepositoryFiles.psm1' 'Search.psm1' 'Users.psm1' 'Utilities.psm1' 'Variables.psm1' ) FunctionsToExport = @( # Git 'Get-LocalGitContext' # Branches 'Get-GitlabBranch' 'Get-GitlabProtectedBranches' 'Protect-GitlabBranch' 'UnProtect-GitlabBranch' # Configuration 'Get-GitlabConfiguration' 'Add-GitlabSite' 'Remove-GitlabSite' 'Get-DefaultGitlabSite' 'Set-DefaultGitlabSite' # Groups 'Get-GitlabGroup' 'New-GitlabGroup' 'Remove-GitlabGroup' 'Copy-GitlabGroupToLocalFileSystem' 'Update-LocalGitlabGroup' 'Get-GitlabGroupVariable' 'Set-GitlabGroupVariable' 'Remove-GitlabGroupVariable' # Projects 'Get-GitlabProject' 'New-GitlabProject' 'Update-GitlabProject' 'Move-GitlabProject' 'Rename-GitlabProject' 'Copy-GitlabProject' 'Invoke-GitlabProjectArchival' 'Get-GitlabProjectVariable' 'Set-GitlabProjectVariable' 'Remove-GitlabProjectVariable' # Repository Files 'Get-GitlabRepositoryFile' 'Get-GitlabRepositoryTree' 'Get-GitlabRepositoryFileContent' 'Get-GitlabRepositoryYmlFileContent' 'Get-GitlabCiYml' # Environments 'Get-GitlabEnvironment' # Deployments 'Get-GitlabDeployment' # Issues 'Get-GitlabIssues' 'New-GitlabIssue' 'Close-GitlabIssue' # MergeRequests 'Get-GitlabMergeRequest' 'New-GitlabMergeRequest' 'Set-GitlabMergeRequest' 'Get-GitlabMergeRequestChangeSummary' 'Invoke-GitlabMergeRequestReview' 'Approve-GitlabMergeRequest' 'Update-GitlabMergeRequest' 'Close-GitlabMergeRequest' # Pipelines 'Get-GitlabPipeline' 'Get-GitlabPipelineSchedule' 'Update-GitlabPipelineSchedule' 'Get-GitlabPipelineBridges' 'New-GitlabPipeline' 'Remove-GitlabPipeline' # Jobs 'Get-GitlabJob' 'Get-GitlabJobTrace' 'Start-GitlabJob' 'Test-PipelineDefinition' # Search 'Search-Gitlab' # User 'Get-GitlabUser' 'Get-GitlabCurrentUser' 'Get-GitlabGroupMembership' 'Add-GitlabUserToGroup' # Utilities 'ConvertTo-PascalCase' 'New-WrapperObject' 'ConvertTo-UrlEncoded' 'Invoke-GitlabApi' 'Open-InBrowser' # Variables 'Resolve-GitlabVariable' ) AliasesToExport = @( # long form 'Clone-GitlabGroup' 'Pull-GitlabGroup' 'Transfer-GitlabProject' 'Fork-GitlabProject' 'Archive-GitlabProject' 'Review-GitlabMergeRequest' 'Play-GitlabJob' # short form 'go' 'build' 'envs' 'deploys' 'pipeline' 'pipelines' 'schedule' 'schedules' 'job' 'jobs' 'trace' 'issue' 'issues' 'mr' 'mrs' 'var' ) PrivateData = @{ PSData = @{ LicenseUri = 'https://github.com/chris-peterson/pwsh-gitlab/blob/main/LICENSE' ProjectUri = 'https://github.com/chris-peterson/pwsh-gitlab' ReleaseNotes = 'fix #17' } } } |