Skip to content

huxinmin/getGitlabCfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

getGitlabCfg

download gitlab repo given file for some use, for example configure

Usage

const getCfg = require('getgitlabcfg');
getCfg({
  token: 'xxx', //gitlab token
  host: 'http://git.xxx.com', //gitlab host
  projectId: 'xxxx',
  src: 'xxx/xxx/xxx.js', //repo file path
  branch: 'master',
  dist: './config.js'
});

About

download gitlab repo given file for some use, for example configure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published