@ycmd/creds
Version:
LSK.js CLI Creds is the easiest way to manage GitHub / Gitlab secrets and credentials
11 lines (9 loc) • 646 B
JavaScript
import { a as a$2 } from './chunk-WNARQRHV.js';
import { a as a$3 } from './chunk-BOQRWMR4.js';
import { a as a$1 } from './chunk-42JDWDUO.js';
import { a } from './chunk-CSGQ5YH5.js';
import { Err } from '@lsk4/err';
async function u(m,f={}){let{path:v,config:i}=await a$1(m),e=i.service?.serviceName;if(!e)throw new Err("!serviceName",{data:{configPath:v}});let r,t={...i.service,...f,config:i};if(e==="github")r=new a$2(t);else if(e==="gitlab")r=new a$3(t);else throw new Err("incorrect serviceName",{serviceName:e});return r}a(u,"createService");
export { u as a };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-RWTZ4YZL.js.map