-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathquery_task.sh
More file actions
26 lines (24 loc) · 797 Bytes
/
query_task.sh
File metadata and controls
26 lines (24 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
node dist/index.js querytask \
-r "service-endpoint" \
--task_id "Task id" \
--user_address "User address" \
--md5 "Image MD5" \
--tasktype "Setup|Prove|Verify|Batch|Deploy|Reset" \
--taskstatus "Pending|DryRunSuccess|Processing|DryRunFailed|Done|Fail|Unprovable|Stale" \
--start X \
--total Y \
--concise true \
--verbose true
# Note: only service-endpoint is required. If no query params are given, will return the latest task.
# Example:
# node dist/index.js querytask \
# -r "http://localhost:8108" \
# --task_id "000000..." \
# --user_address "0x000000..." \
# --md5 "D2144252F3C9DDCA5CA86C23D2EE97E9" \
# --tasktype "Setup" \
# --taskstatus "Pending" \
# --start 0 \
# --total 10 \
# --concise true \
# --verbose true