Action Cable command-line client
Adde --pong
option to enable pong commands.
Added \h offset:<N>
support.
Now you can retrieve the last observed stream history by offset.
Now you can see history related information in addition to message contents:
{"action":"broadcast","test":3} # stream_id=all epoch=pHWQ offset=3
Secure connections are now supported (i.e. wss://...
).
curl -L https://github.com/palkan/acli/releases/download/0.2.0/acli-macos-x86_64 > /usr/local/bin/acli
chmod +x /usr/local/bin/acli
curl -L https://github.com/palkan/acli/releases/download/0.2.0/acli-linux-x86_64 > /usr/local/bin/acli
chmod +x /usr/local/bin/acli
Provides basic functionality:
Connect to Action Cable server (non-secure, ws://
, only)
Subscribe to a channel
Perform an action
Receive messages.