iniquity

A re-imagining of the iconic BBS software.

View on GitHub

Class: Server

iniquity/src/commands/server.Server

Iniquity Server

Summary

The main entry into all iniquity cli commands that are available.

Implements

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Server()

Properties

command

command: string = "server [action]"

Implementation of

yargs.CommandModule.command

Defined in

iniquity/src/commands/server.ts:53


describe

describe: string = "Control your iniquity bbs server."

Implementation of

yargs.CommandModule.describe

Defined in

iniquity/src/commands/server.ts:54

Methods

builder

builder(yargs): Argv<{ port: number } & { program: string } & { install: boolean } & { watch: boolean } & { start: undefined | string } & { stop: undefined | string } & { restart: undefined | string }>

Parameters

Name Type
yargs Argv<{}>

Returns

Argv<{ port: number } & { program: string } & { install: boolean } & { watch: boolean } & { start: undefined | string } & { stop: undefined | string } & { restart: undefined | string }>

Implementation of

yargs.CommandModule.builder

Defined in

iniquity/src/commands/server.ts:57


handler

handler(argv): Promise<void>

Parameters

Name Type
argv Object

Returns

Promise<void>

Implementation of

yargs.CommandModule.handler

Defined in

iniquity/src/commands/server.ts:94