http4s-cli
v0.1.0
Published
start a static file server, backed by http4s ember
Downloads
10
Readme
http4s-cli
Like python3 -m http.server
, but backed by http4s ember on Scala.js.
Install
npm i -g http4s-cli
Use
Usage: http4s [--bind <ADDRESS>] [--directory <DIRECTORY>] [<port>]
static file server, backed by http4s ember
Options and flags:
--help
Display this help text.
--version, -v
Print the version number and exit.
--bind <ADDRESS>, -b <ADDRESS>
Specify alternate bind address [default: all interfaces]
--directory <DIRECTORY>, -d <DIRECTORY>
Specify alternative directory [default: current directory]
Learn
This repo demonstrates how to publish a Scala.js app to npm using scala-cli.