Skip to main content

Namespace: Sern

Variables

controller

Const controller: Object

Since

1.0.0 The object passed into every plugin to control a command's behavior

Type declaration

NameType
next() => OkImpl<void>
stop() => ErrImpl<void>

Defined in

src/sern.ts:72

Functions

init

init(maybeWrapper): void

Since

1.0.0

Example

src/index.ts
Sern.init({
commands: 'dist/commands',
events: 'dist/events',
})

Parameters

NameType
maybeWrapperWrapper | "file"

Returns

void

Defined in

src/sern.ts:24