thehowl / claws

Awesome WebSocket CLient - an interactive command line client for testing websocket servers
MIT License
298 stars 18 forks source link

Message piping #4

Closed thehowl closed 6 years ago

thehowl commented 7 years ago

Enable with <ESC>p for messages received from server, with <ESC>P for messages sent from client, this disables automatically JSON formatting and JSON composing, and it gives the ability to pipe the messages to a command (to be executed with bash if possible) giving the message in stdin, and receiving what to show on stdout (and an eventual error to be shown with state.Error on stderr).