CLI for SocketIO, WebSocket, Unix-Socket. With auto-completion and syntax highlighting.
Project description
Welcome to socket-cli 👋
A command-line client for socket.io, websocket, unix-socket that has auto-completion and syntax highlighting.
✨ Demo
Just take a look
🚀 Usage
install socket-cli via pip:
pip install socket-cli
Usage: socket-cli [OPTIONS] [PATH]
Options:
-t, --type TEXT [websocket, socketio, unix]
--help Show this message and exit.
when you connect a socket.io server.
> connect
> emit --event event_name --data '{"test": "data"}'
> on --event event_name
> on --event event_name --namespace /admin
> emit --event event_name --data '{"test": "data"}' --namespace /admin
or a websocket server
> connect
> send --data test
> recv
or a unix socket server
> connect
> send --data test
> connect
> send --data
> on --event event_name
🤝 Contributing
Contributions, issues and feature requests are welcome.
Feel free to check issues page and pull-request welcome.
TODO
- connect socket.io server with headers
- unit-testing, ci
Author
👤 gcaaa31928
- Website: http://gcaaa.blogspot.tw/
- Github: @gcaaa31928
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for socket_cli-0.1.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a2ae93aa6b4f740cb4bb313c3c971cef165f72a42010827c46fe1f475ce99a5 |
|
MD5 | b8d0288d8b6fc34a3ec7a01499e70b46 |
|
BLAKE2b-256 | 86a51b8dae8e3003494ffb58bd3341f09a7e28e41286ad26d3346a2f34fdccfb |