Module: promptOperations

A simple prompt module to get input from the user using process.stdin.

Author:
  • Seth Hollingsead
Source:

Requires

Methods

(inner) prompt(inputData, inputMetaData) → {string}

Prompts the user for some input and returns the input.

Parameters:
Name Type Description
inputData string

What the prompt should display when asking the user for input.

inputMetaData string

Not used for this business rule.

Author:
  • Seth Hollingsead
Source:
Returns:

A string of whatever input the user gave.

Type
string