Minimal static HTTP file server for MoonX.
moonx cli/serve@0.1.1 [--host ADDRESS] [-p PORT|--port PORT] [DIRECTORY]| Option | Description |
|---|---|
| --host ADDRESS | Set a numeric IPv4 or IPv6 listen address. |
| -p PORT, --port PORT | Set a port from 0 through 65535; 0 selects an available port. Accepts --port=8000 and -p8000. |
| -- | End option parsing before the directory operand. |
| -h, --help / -V, --version | Show help / package version without reading stdin or starting a listener. |
moonx cli/serve@0.1.1 public
moonx cli/serve@0.1.1 --host 127.0.0.1 -p8080 public