SG: add a --wait flag to 'sg ci status' that blocks and displays a system notification
Created by: jhchabran
sg ci status --wait --branch=lsif-validation
The go code is a bit crude, that's a first iteration. The system notifications are cross-platform, with the exception of WSL.
- I wish we could click on the notification to open the Buildkite build page, but I didn't find something that was cross-platform to do that.
- I people like this feature, we can invest more time and polish this
- Yes, it displays, a weird logo on OSX, that's because it's Apple Script under the hood. Same remark as above.
- I added along the way a
--branch
flag, that was handy for testing so I kept it.