gh run watch
观察 run,直到完成,并显示其进度
gh run watch <run-id> [flags]
Options
--exit-status
- 运行失败,退出代码 非零
-i
,--interval <int>
- 刷新的时间间隙
Options inherited from parent commands
-R
,--repo <[HOST/]OWNER/REPO>
- 使用 [HOST/]OWNER/REPO 格式,选择另一存储库
Examples
# 终端一直观察,直到 run 完成
gh run watch
# 然后,试试运行其他命令
gh run watch && notify-send "run is done!"