@robinpath/gitlab
v0.1.1
Published
GitLab module for RobinPath.
Readme
@robinpath/gitlab
GitLab module for RobinPath.
Why use this module?
The gitlab module lets you:
- listProjects
- getProject
- createProject
- deleteProject
- listIssues
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/gitlabQuick Start
1. Set up credentials
gitlab.setCredentials "your-credentials"2. listProjects
gitlab.listProjectsAvailable Functions
| Function | Description |
|----------|-------------|
| gitlab.setCredentials | Configure gitlab credentials. |
| gitlab.listProjects | listProjects |
| gitlab.getProject | getProject |
| gitlab.createProject | createProject |
| gitlab.deleteProject | deleteProject |
| gitlab.listIssues | listIssues |
| gitlab.getIssue | getIssue |
| gitlab.createIssue | createIssue |
| gitlab.updateIssue | updateIssue |
| gitlab.listMergeRequests | listMergeRequests |
| gitlab.getMergeRequest | getMergeRequest |
| gitlab.createMergeRequest | createMergeRequest |
| gitlab.updateMergeRequest | updateMergeRequest |
| gitlab.mergeMergeRequest | mergeMergeRequest |
| gitlab.listBranches | listBranches |
| gitlab.createBranch | createBranch |
| gitlab.deleteBranch | deleteBranch |
| gitlab.listPipelines | listPipelines |
| gitlab.getPipeline | getPipeline |
| gitlab.retryPipeline | retryPipeline |
| gitlab.cancelPipeline | cancelPipeline |
| gitlab.listCommits | listCommits |
| gitlab.listTags | listTags |
| gitlab.createTag | createTag |
| gitlab.listMembers | listMembers |
| gitlab.addMember | addMember |
| gitlab.getUser | getUser |
| gitlab.searchProjects | searchProjects |
| gitlab.listEnvironments | listEnvironments |
Examples
listProjects
gitlab.listProjectsgetProject
gitlab.getProjectcreateProject
gitlab.createProjectIntegration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/gitlab";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
gitlab.setCredentials "your-credentials"
gitlab.listProjects
`);Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/docker— Docker module for complementary functionality@robinpath/git— Git module for complementary functionality@robinpath/github— GitHub module for complementary functionality@robinpath/vercel— Vercel module for complementary functionality@robinpath/netlify— Netlify module for complementary functionality
License
MIT
