Class: Update
iniquity/src/commands/update.Update
Iniquity Update
Summary
The main entry into all iniquity cli commands that are available.
Implements
Implements
CommandModule
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Update()
Properties
command
• command: string = "server [action]"
Implementation of
yargs.CommandModule.command
Defined in
iniquity/src/commands/update.ts:62
describe
• describe: string = "Control your iniquity bbs server."
Implementation of
yargs.CommandModule.describe
Defined in
iniquity/src/commands/update.ts:63
Methods
builder
▸ builder(yargs): Argv<{ install: boolean } & { watch: boolean } & { start: undefined | string } & { stop: undefined | string } & { restart: undefined | string }>
Parameters
| Name | Type |
|---|---|
yargs |
Argv<{}> |
Returns
Argv<{ install: boolean } & { watch: boolean } & { start: undefined | string } & { stop: undefined | string } & { restart: undefined | string }>
Implementation of
yargs.CommandModule.builder
Defined in
iniquity/src/commands/update.ts:65
handler
▸ handler(argv): void
Parameters
| Name | Type |
|---|---|
argv |
Object |
Returns
void
Implementation of
yargs.CommandModule.handler