0.1.4 • Published 7 years ago
leitstand-gitlab v0.1.4
leitstand-gitlab
GitLab plugin for Leitstand
Installation
First, install leitstand-cli, if you haven't done yet. Then install the plugin as dependency into your Leitstand app via:
npm install leitstand-gitlab --save
Usage
// Consider using e.g. yargs, to pass credentials to the script, instead of storing them in git
leitstand
.plugin('gitlab', {
settings: {
url: '<URL>',
token: '<TOKEN>'
}
})
.widget('gitlab-projects', {
plugin: 'gitlab',
methods: 'projects.all'
});
API
License
MIT © Sebastian Krüger