capistrano / capistrano/sshkit
Q: streaming output from an `execute`
Open
discuss!
- Dominant language
- Ruby
- Stars
- 1.2k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
Using sshkit 1.11.1 via Capistrano 3.4.0.
I'd like to do an `execute`, but get streaming output to the console as it appears from the execute. For me, `execute` seems to have no output. `capture` can capture output (that you can write out), but only once it's all done, not streaming.
Looking at the sshkit README, I think I could write my own `interaction_handler` to do this, not because I actually want any interaction, just to capture and write to console the output as it happens.
But it seems like there's probably a built-in way to do this I'm not finding?
Contributor guide
Assessment
This issue has not been assessed yet.