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

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new Init()

Properties

command

• command: string = "init [options]"

Implementation of

yargs.CommandModule.command

Defined in

cli/src/commands/init.ts:50


describe

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

Implementation of

yargs.CommandModule.describe

Defined in

cli/src/commands/init.ts:51

Methods

builder

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

Parameters

Name Type
yargs Argv<{}>

Returns

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

Implementation of

yargs.CommandModule.builder

Defined in

cli/src/commands/init.ts:53


handler

▸ handler(argv): void

Parameters

Name Type
argv Object

Returns

void

Implementation of

yargs.CommandModule.handler

Defined in

cli/src/commands/init.ts:77