Home Reference Source Repository

Typedef

Static Public Summary
public

Validator info object.

public

Validator info object.

public

Roc config object.

public

Roc documentation object.

public

Roc map object.

public

Roc meta config object.

public

Roc meta settings object.

public

Roc meta settings object.

public

Roc parsed options.

public

Roc settings object.

public

Roc table header object.

public

Roc table settings object.

Static Public

public infoObject: Object source

Validator info object.

Properties:

NameTypeAttributeDescription
type string

The type.

required boolean

If it is required.

public rocCommandObject: Object source

Validator info object.

Properties:

NameTypeAttributeDescription
debug boolean

If debug mode has been enabled.

configObject rocConfig

The final configuration object where everything has been merged.

metaObject rocMetaConfig

The final meta configuration object where everything has been merged.

extensionConfig rocConfig

The configuration object where all extensions has been merged.

parsedOptions rocOptions

The parsed options given to the cli.

public rocConfig: Object source

Roc config object.

Properties:

NameTypeAttributeDescription
settings rocSettings
commands Object
plugins Object
extensions string[]

public rocDocumentationObject: Object[] source

Roc documentation object.

public rocMapObject: Object source

Roc map object.

Properties:

NameTypeAttributeDescription
name string
path string
convertor function
validator function

public rocMetaConfig: Object source

Roc meta config object.

Properties:

NameTypeAttributeDescription
settings rocMetaSettings
commands Object
plugins Object

public rocMetaSettings: Object source

Roc meta settings object.

public rocMetaSettings: Object source

Roc meta settings object.

Properties:

NameTypeAttributeDescription
descriptions Object
groups Object
validations Object

public rocOptions: Object source

Roc parsed options.

Properties:

NameTypeAttributeDescription
options Object
rest Object

public rocSettings: Object source

Roc settings object.

public rocTableHeader: Object source

Roc table header object.

public rocTableSettings: Object source

Roc table settings object.

See default configuration below:

{
    groupTitleWrapper: (name) => name,
    cellDivider: '|',
    rowWrapper: (input) => `|${input}|`,
    cellWrapper: (input) => ` ${input} `,
    header: true,
    compact: false
}