Home Reference Source Test

Variable

Static Public Summary
public

System exit codes

public

Available command aliases

public

All available command names as list (includes aliases)

public

Available command names

public

Commands map

public

mongoose-data-seed config

public

mongoose-data-seed user config filename

public

The fefault command name

public

mongoose-data-seed default user generator-config

public

Generate command option defenitions

public

Init command option defenitions

public

Run command option defenitions

public

system template for user-config path

public

system seeder template path

public

Help command user guide

public

Run command user guide

Static Public

public ExitCodes: Map<string, number> source

System exit codes

Map exit code key to exit code number

public aliases: Map<string, string> source

Available command aliases

Map alias to command name

public availableCommandsList: string[] source

import {availableCommandsList} from 'mongoose-data-seed/src/lib/commands/constants.js'

All available command names as list (includes aliases)

public commands: Map<string, string> source

Available command names

Map command key to command name

public commandsMap: Map<string, Function> source

Commands map

Map command name to the actuall command function

public config: Object source

mongoose-data-seed config

Properties:

NameTypeAttributeDescription
clean Function
getConfigFromPackageJson Function
getUserGeneratorConfig Function
update Function
loadUserConfig Function
projectRoot String
userConfigFilename String
userConfigFilepath String
userSeedersFolderName String
userSeedersFolderPath String
userConfigExists boolean
seederTemplate String
configTemplate String

public configFilename: String source

import {configFilename} from 'mongoose-data-seed/src/lib/constants.js'

mongoose-data-seed user config filename

public defaultCommand: string source

The fefault command name

public defaultUserGeneratorConfig: Object source

import {defaultUserGeneratorConfig} from 'mongoose-data-seed/src/lib/constants.js'

mongoose-data-seed default user generator-config

Properties:

NameTypeAttributeDescription
seedersFolder string

public optionDefinitions: Object[] source

Generate command option defenitions

public optionDefinitions: Object[] source

Init command option defenitions

public optionDefinitions: Object[] source

Run command option defenitions

public systemConfigTemplate: string source

import {systemConfigTemplate} from 'mongoose-data-seed/src/lib/constants.js'

system template for user-config path

public systemSeederTemplate: string source

import {systemSeederTemplate} from 'mongoose-data-seed/src/lib/constants.js'

system seeder template path

public usageGuide: string source

Help command user guide

public usageGuide: string source

Run command user guide