1.1.3 • Published 6 years ago
wbp-gitlab v1.1.3
This is a util for wbp
How to Use ?
// let gitlab = require('../main')
// gitlab.inputUserInfo().then((data) => {
// gitlab.tokens = data.tokens
// gitlab.gitlabURL = data.gitlabURL
// return gitlab.getGroups(data.tokens, data.gitlabURL)
// }).then((res) => {
// res.forEach((item) => {
// if (item.name == 'dhfe') {
// gitlab.groupId = item.id
// }
// })
// return gitlab.createPro()
// }).then((res) => {
// console.log('---------end res---------')
// console.log(res)
// }).catch((err) => {
// console.log('---------end err-------')
// console.log(err)
// })