增加任务取回功能

This commit is contained in:
algotao
2025-07-27 18:16:08 +08:00
parent a78c16d301
commit 6ca9fe7a02
5 changed files with 237 additions and 12 deletions

View File

@@ -25,6 +25,8 @@ func RunTask(args ...string) error {
return RunTaskInfo(args...)
case "upload":
return RunTaskUpload(args...)
case "download":
return RunTaskDownload(args...)
case "run":
return RunTaskRun(args...)
default:
@@ -51,6 +53,7 @@ Commands:
delete Delete a task on server
info Get a task info on server
upload Upload task's file block to server
download Download task's file block to local
"help" is the default command.