Description
Have some environment variables to control the behaviour of the CLI, e.g., PORT, HOST, SSL, DEBUG_LEVEL, etc.
PORT=1234
HOST=123.456.890.1
CORS=*
DEBUG_LEVEL=nologs
DEBUG_LEVEL=true
Why
To be able to run the CLI command like serve src -nLC without directly specifying the host or port on the command.
> terminal
.env
Instead of
> terminal
This would make the CLI command shorter and easier to control
Alternatives
N/A