Skip to main content

Class: MassargExample

example.MassargExample

Constructors

constructor

new MassargExample(config): MassargExample

Parameters

NameTypeDescription
configObject-
config.description?stringDescription of the example. This will appear as a title above the input/output line(s).
config.input?stringInput of the example. This will appear as a line below the description, with a $ prefix. The prefix can be changed using the help() function on the command.
config.output?stringOutput of the example. This will appear as a line below the input, with a > prefix. The prefix can be changed using the help() function on the command.

Returns

MassargExample

Defined in

src/example.ts:25

Properties

description

description: undefined | string

Defined in

src/example.ts:21


input

input: undefined | string

Defined in

src/example.ts:22


output

output: undefined | string

Defined in

src/example.ts:23