remote 命令
This commit is contained in:
parent
658a7031b6
commit
c2119665fd
@ -116,6 +116,7 @@ async function main(){
|
||||
$logger.info("远程仓库可用")
|
||||
}
|
||||
await remote.publish(localFile, remotePath)
|
||||
$logger.info("发布成功")
|
||||
});
|
||||
parser.addCmdLine("install [module]", "安装/更新模块;", async function (cli) {
|
||||
let remote = await $context.get("remote")
|
||||
|
@ -103,5 +103,5 @@ module.exports = async function publish(remote, localFile, remotePath) {
|
||||
|
||||
}
|
||||
|
||||
$logger.info("发布成功")
|
||||
$logger.info("文件上传成功")
|
||||
}
|
Loading…
Reference in New Issue
Block a user