iniquity

A re-imagining of the iconic BBS software.

View on GitHub

Class: Init

Init.Init

Iniquity CLI

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

implements {yargs.CommandModule}

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Init()

Properties

command

command: string = "init [options]"

Implementation of

yargs.CommandModule.command

Defined in

iniquity/src/commands/init.ts:49


describe

describe: string = "Initialize the current directory as an iniquity 3 application."

Implementation of

yargs.CommandModule.describe

Defined in

iniquity/src/commands/init.ts:50

Methods

builder

builder(yargs): Argv<{ name: string } & { template: string } & { theme: string }>

Parameters

Name Type
yargs Argv<Object>

Returns

Argv<{ name: string } & { template: string } & { theme: string }>

Implementation of

yargs.CommandModule.builder

Defined in

iniquity/src/commands/init.ts:52


handler

handler(argv): void

Parameters

Name Type
argv Object

Returns

void

Implementation of

yargs.CommandModule.handler

Defined in

iniquity/src/commands/init.ts:76