CLI Options

Usage

sevok <file>
sevok <dir>
sevok --entry <file>
sevok --dir <dir>

Options

--entry <file>

Server entry file to use.

sevok --entry ./server.ts

--dir <dir>

Working directory for resolving entry files.

sevok --dir ./apps/api

-h, --help

Show help message.

-v, --version

Show package and runtime versions.

-p, --port <port>

Port to listen on (default: 3000 or PORT env).

sevok --port 8080

--host, --hostname <host>

Host to bind to (default: all interfaces or HOST env).

sevok --hostname 127.0.0.1

-s, --static <dir>

Serve static files from a directory (default: public).

sevok --static ./public

--prod

Disable watch mode and use production env defaults.

sevok --prod

--import <module>

Preload a module in Node.js or Bun.

sevok --import jiti/register

Note: This flag is currently intended for Node.js and Bun. Deno does not use this flag.

--tls

Enable TLS (HTTPS/HTTP2).

sevok --tls --cert ./cert.pem --key ./key.pem

--cert <file>

TLS certificate file.

--key <file>

TLS private key file.