find-free-port icon indicating copy to clipboard operation
find-free-port copied to clipboard

suggestion: command line version

Open yukulele opened this issue 5 years ago • 0 comments

hi, I think it could be helpful to have a command line version:

> find-free-port 3000 3100
3000

usage example:

#!/bin/bash
port=$(find-free-port 3000)
run-server --port $port
run-client --addr 0.0.0.0:$port

yukulele avatar Nov 14 '19 14:11 yukulele