Skip to main content
Module

x/aleph/cli/start.ts

The Full-stack Framework in Deno.
Very Popular
Go to Latest
File
import { start } from '../server/server.ts'
export const helpMessage = `Starts the aleph app in production mode.
Usage: aleph start <dir> [...options]
<dir> represents the directory of the aleph app,if the <dir> is empty, the current directory will be used.
Options: -p, --port A port number to start the aleph app, default is 8080 -h, --help Prints help message`
export default function (appDir: string, options: Record<string, string | boolean>) { start(appDir, parseInt(String(options.port || options.p)) || 8080)}