mirror of
https://github.com/danbulant/bpm
synced 2026-07-07 20:10:45 +00:00
Create install function
This commit is contained in:
parent
4c1eae1955
commit
c501513194
1 changed files with 5 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ module.exports = class Package {
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ping(){
|
ping(){
|
||||||
return new Promise((res, rej) => {
|
return new Promise((res, rej) => {
|
||||||
console.log(console.colors.FgMagenta + "HTTP PING" + console.colors.Reset + " " + REPO);
|
console.log(console.colors.FgMagenta + "HTTP PING" + console.colors.Reset + " " + REPO);
|
||||||
|
|
@ -98,4 +99,8 @@ module.exports = class Package {
|
||||||
fs.writeFileSync(process.cwd() + "/package.json", data);
|
fs.writeFileSync(process.cwd() + "/package.json", data);
|
||||||
console.log("Done");
|
console.log("Done");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
install(flags, ...packages){
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue