remote 命令

This commit is contained in:
Cheney 2025-03-13 16:02:37 +08:00
parent 658a7031b6
commit c2119665fd
2 changed files with 2 additions and 1 deletions

View File

@ -116,6 +116,7 @@ async function main(){
$logger.info("远程仓库可用") $logger.info("远程仓库可用")
} }
await remote.publish(localFile, remotePath) await remote.publish(localFile, remotePath)
$logger.info("发布成功")
}); });
parser.addCmdLine("install [module]", "安装/更新模块;", async function (cli) { parser.addCmdLine("install [module]", "安装/更新模块;", async function (cli) {
let remote = await $context.get("remote") let remote = await $context.get("remote")

View File

@ -103,5 +103,5 @@ module.exports = async function publish(remote, localFile, remotePath) {
} }
$logger.info("发布成功") $logger.info("文件上传成功")
} }