https://pr4th4m.github.io/posts/stream-cli-output/