0.0.3 • Published 6 years ago
siob-cli v0.0.3
SocketIO bridge over node core modules cli.
Install
yarn add -D @socketio-bridge/cli
yarn socketio-bridge serve
# Or
yarn siob serve
Commands
# Available commands
yarn siob --help
# Start server on port 7979 and kill any other process listening to it.
yarn siob serve &
# Start server on port 5959 and kill any other process listening to it.
yarn siob serve -p 5959 &
# OR
yarn siob serve --port 5959 &
# Kill any process listening to port 7979
yarn siob kill --port 7979
# If no port is provided a server will be started temporarily.
yarn siob run 'ls -al' --port 7979
# Make sure everything is configured correctly
yarn siob test
# Create a web client
yarn siob create-client -n my-dashboard
0.0.3
6 years ago