api documentation for inquirer (v3.0.6)

A collection of common interactive command line user interfaces.

table of contents

  1. module inquirer
    1. function inquirer.Separator (line)
    2. function inquirer.createPromptModule (opt)
    3. function inquirer.prompt (questions)
    4. function inquirer.registerPrompt (name, prompt)
    5. function inquirer.restoreDefaultPrompts ()
    6. function inquirer.ui.BottomBar (opt)
    7. function inquirer.ui.Prompt (prompts, opt)
    8. object inquirer.Separator.prototype
    9. object inquirer.prompt.prompts
    10. object inquirer.prompt.prompts.checkbox.prototype
    11. object inquirer.prompt.prompts.confirm.prototype
    12. object inquirer.prompt.prompts.editor.prototype
    13. object inquirer.prompt.prompts.expand.prototype
    14. object inquirer.prompt.prompts.input.prototype
    15. object inquirer.prompt.prompts.list.prototype
    16. object inquirer.prompt.prompts.password.prototype
    17. object inquirer.prompt.prompts.rawlist.prototype
    18. object inquirer.prompts
    19. object inquirer.ui
    20. object inquirer.ui.BottomBar.prototype
    21. object inquirer.ui.BottomBar.super_.prototype
    22. object inquirer.ui.Prompt.prototype
  2. module inquirer.Separator
    1. function inquirer.Separator (line)
    2. function inquirer.Separator.exclude (obj)
  3. module inquirer.Separator.prototype
    1. function inquirer.Separator.prototype.toString ()
  4. module inquirer.prompt
    1. function inquirer.prompt (questions)
    2. function inquirer.prompt.registerPrompt (name, prompt)
    3. function inquirer.prompt.restoreDefaultPrompts ()
    4. object inquirer.prompt.prompts
  5. module inquirer.prompt.prompts
    1. function inquirer.prompt.prompts.checkbox ()
    2. function inquirer.prompt.prompts.confirm ()
    3. function inquirer.prompt.prompts.editor ()
    4. function inquirer.prompt.prompts.expand ()
    5. function inquirer.prompt.prompts.input ()
    6. function inquirer.prompt.prompts.list ()
    7. function inquirer.prompt.prompts.password ()
    8. function inquirer.prompt.prompts.rawlist ()
  6. module inquirer.prompt.prompts.checkbox.prototype
    1. function inquirer.prompt.prompts.checkbox.prototype._run (cb)
    2. function inquirer.prompt.prompts.checkbox.prototype.getCurrentValue ()
    3. function inquirer.prompt.prompts.checkbox.prototype.onAllKey ()
    4. function inquirer.prompt.prompts.checkbox.prototype.onDownKey ()
    5. function inquirer.prompt.prompts.checkbox.prototype.onEnd (state)
    6. function inquirer.prompt.prompts.checkbox.prototype.onError (state)
    7. function inquirer.prompt.prompts.checkbox.prototype.onInverseKey ()
    8. function inquirer.prompt.prompts.checkbox.prototype.onNumberKey (input)
    9. function inquirer.prompt.prompts.checkbox.prototype.onSpaceKey ()
    10. function inquirer.prompt.prompts.checkbox.prototype.onUpKey ()
    11. function inquirer.prompt.prompts.checkbox.prototype.render (error)
    12. function inquirer.prompt.prompts.checkbox.prototype.toggleChoice (index)
  7. module inquirer.prompt.prompts.confirm.prototype
    1. function inquirer.prompt.prompts.confirm.prototype._run (cb)
    2. function inquirer.prompt.prompts.confirm.prototype.onEnd (input)
    3. function inquirer.prompt.prompts.confirm.prototype.onKeypress ()
    4. function inquirer.prompt.prompts.confirm.prototype.render (answer)
  8. module inquirer.prompt.prompts.editor.prototype
    1. function inquirer.prompt.prompts.editor.prototype._run (cb)
    2. function inquirer.prompt.prompts.editor.prototype.endExternalEditor (error, result)
    3. function inquirer.prompt.prompts.editor.prototype.onEnd (state)
    4. function inquirer.prompt.prompts.editor.prototype.onError (state)
    5. function inquirer.prompt.prompts.editor.prototype.render (error)
    6. function inquirer.prompt.prompts.editor.prototype.startExternalEditor ()
  9. module inquirer.prompt.prompts.expand.prototype
    1. function inquirer.prompt.prompts.expand.prototype._run (cb)
    2. function inquirer.prompt.prompts.expand.prototype.generateChoicesString (choices, defaultIndex)
    3. function inquirer.prompt.prompts.expand.prototype.getChoices ()
    4. function inquirer.prompt.prompts.expand.prototype.getCurrentValue (input)
    5. function inquirer.prompt.prompts.expand.prototype.onError (state)
    6. function inquirer.prompt.prompts.expand.prototype.onKeypress ()
    7. function inquirer.prompt.prompts.expand.prototype.onSubmit (state)
    8. function inquirer.prompt.prompts.expand.prototype.render (error, hint)
    9. function inquirer.prompt.prompts.expand.prototype.validateChoices (choices)
  10. module inquirer.prompt.prompts.input.prototype
    1. function inquirer.prompt.prompts.input.prototype._run (cb)
    2. function inquirer.prompt.prompts.input.prototype.filterInput (input)
    3. function inquirer.prompt.prompts.input.prototype.onEnd (state)
    4. function inquirer.prompt.prompts.input.prototype.onError (state)
    5. function inquirer.prompt.prompts.input.prototype.onKeypress ()
    6. function inquirer.prompt.prompts.input.prototype.render (error)
  11. module inquirer.prompt.prompts.list.prototype
    1. function inquirer.prompt.prompts.list.prototype._run (cb)
    2. function inquirer.prompt.prompts.list.prototype.getCurrentValue ()
    3. function inquirer.prompt.prompts.list.prototype.onDownKey ()
    4. function inquirer.prompt.prompts.list.prototype.onNumberKey (input)
    5. function inquirer.prompt.prompts.list.prototype.onSubmit (value)
    6. function inquirer.prompt.prompts.list.prototype.onUpKey ()
    7. function inquirer.prompt.prompts.list.prototype.render ()
  12. module inquirer.prompt.prompts.password.prototype
    1. function inquirer.prompt.prompts.password.prototype._run (cb)
    2. function inquirer.prompt.prompts.password.prototype.filterInput (input)
    3. function inquirer.prompt.prompts.password.prototype.onEnd (state)
    4. function inquirer.prompt.prompts.password.prototype.onError (state)
    5. function inquirer.prompt.prompts.password.prototype.onKeypress ()
    6. function inquirer.prompt.prompts.password.prototype.render (error)
  13. module inquirer.prompt.prompts.rawlist.prototype
    1. function inquirer.prompt.prompts.rawlist.prototype._run (cb)
    2. function inquirer.prompt.prompts.rawlist.prototype.getCurrentValue (index)
    3. function inquirer.prompt.prompts.rawlist.prototype.onEnd (state)
    4. function inquirer.prompt.prompts.rawlist.prototype.onError ()
    5. function inquirer.prompt.prompts.rawlist.prototype.onKeypress ()
    6. function inquirer.prompt.prompts.rawlist.prototype.render (error)
  14. module inquirer.ui
    1. function inquirer.ui.BottomBar (opt)
    2. function inquirer.ui.Prompt (prompts, opt)
  15. module inquirer.ui.BottomBar
    1. function inquirer.ui.BottomBar (opt)
    2. function inquirer.ui.BottomBar.super_ (opt)
  16. module inquirer.ui.BottomBar.prototype
    1. function inquirer.ui.BottomBar.prototype.clean ()
    2. function inquirer.ui.BottomBar.prototype.enforceLF (str)
    3. function inquirer.ui.BottomBar.prototype.render ()
    4. function inquirer.ui.BottomBar.prototype.updateBottomBar (bottomBar)
    5. function inquirer.ui.BottomBar.prototype.write (message)
    6. function inquirer.ui.BottomBar.prototype.writeLog (data)
  17. module inquirer.ui.BottomBar.super_.prototype
    1. function inquirer.ui.BottomBar.super_.prototype.close ()
    2. function inquirer.ui.BottomBar.super_.prototype.onForceClose ()
  18. module inquirer.ui.Prompt
    1. function inquirer.ui.Prompt (prompts, opt)
    2. function inquirer.ui.Prompt.super_ (opt)
  19. module inquirer.ui.Prompt.prototype
    1. function inquirer.ui.Prompt.prototype.fetchAnswer (question)
    2. function inquirer.ui.Prompt.prototype.filterIfRunnable (question)
    3. function inquirer.ui.Prompt.prototype.onCompletion (answers)
    4. function inquirer.ui.Prompt.prototype.processQuestion (question)
    5. function inquirer.ui.Prompt.prototype.run (questions)
    6. function inquirer.ui.Prompt.prototype.setDefaultType (question)

module inquirer

function inquirer.Separator (line)

function inquirer.createPromptModule (opt)

function inquirer.prompt (questions)

function inquirer.registerPrompt (name, prompt)

function inquirer.restoreDefaultPrompts ()

function inquirer.ui.BottomBar (opt)

function inquirer.ui.Prompt (prompts, opt)

module inquirer.Separator

function inquirer.Separator (line)

function inquirer.Separator.exclude (obj)

module inquirer.Separator.prototype

function inquirer.Separator.prototype.toString ()

module inquirer.prompt

function inquirer.prompt (questions)

function inquirer.prompt.registerPrompt (name, prompt)

function inquirer.prompt.restoreDefaultPrompts ()

module inquirer.prompt.prompts

function inquirer.prompt.prompts.checkbox ()

function inquirer.prompt.prompts.confirm ()

function inquirer.prompt.prompts.editor ()

function inquirer.prompt.prompts.expand ()

function inquirer.prompt.prompts.input ()

function inquirer.prompt.prompts.list ()

function inquirer.prompt.prompts.password ()

function inquirer.prompt.prompts.rawlist ()

module inquirer.prompt.prompts.checkbox.prototype

function inquirer.prompt.prompts.checkbox.prototype._run (cb)

function inquirer.prompt.prompts.checkbox.prototype.getCurrentValue ()

function inquirer.prompt.prompts.checkbox.prototype.onAllKey ()

function inquirer.prompt.prompts.checkbox.prototype.onDownKey ()

function inquirer.prompt.prompts.checkbox.prototype.onEnd (state)

function inquirer.prompt.prompts.checkbox.prototype.onError (state)

function inquirer.prompt.prompts.checkbox.prototype.onInverseKey ()

function inquirer.prompt.prompts.checkbox.prototype.onNumberKey (input)

function inquirer.prompt.prompts.checkbox.prototype.onSpaceKey ()

function inquirer.prompt.prompts.checkbox.prototype.onUpKey ()

function inquirer.prompt.prompts.checkbox.prototype.render (error)

function inquirer.prompt.prompts.checkbox.prototype.toggleChoice (index)

module inquirer.prompt.prompts.confirm.prototype

function inquirer.prompt.prompts.confirm.prototype._run (cb)

function inquirer.prompt.prompts.confirm.prototype.onEnd (input)

function inquirer.prompt.prompts.confirm.prototype.onKeypress ()

function inquirer.prompt.prompts.confirm.prototype.render (answer)

module inquirer.prompt.prompts.editor.prototype

function inquirer.prompt.prompts.editor.prototype._run (cb)

function inquirer.prompt.prompts.editor.prototype.endExternalEditor (error, result)

function inquirer.prompt.prompts.editor.prototype.onEnd (state)

function inquirer.prompt.prompts.editor.prototype.onError (state)

function inquirer.prompt.prompts.editor.prototype.render (error)

function inquirer.prompt.prompts.editor.prototype.startExternalEditor ()

module inquirer.prompt.prompts.expand.prototype

function inquirer.prompt.prompts.expand.prototype._run (cb)

function inquirer.prompt.prompts.expand.prototype.generateChoicesString (choices, defaultIndex)

function inquirer.prompt.prompts.expand.prototype.getChoices ()

function inquirer.prompt.prompts.expand.prototype.getCurrentValue (input)

function inquirer.prompt.prompts.expand.prototype.onError (state)

function inquirer.prompt.prompts.expand.prototype.onKeypress ()

function inquirer.prompt.prompts.expand.prototype.onSubmit (state)

function inquirer.prompt.prompts.expand.prototype.render (error, hint)

function inquirer.prompt.prompts.expand.prototype.validateChoices (choices)

module inquirer.prompt.prompts.input.prototype

function inquirer.prompt.prompts.input.prototype._run (cb)

function inquirer.prompt.prompts.input.prototype.filterInput (input)

function inquirer.prompt.prompts.input.prototype.onEnd (state)

function inquirer.prompt.prompts.input.prototype.onError (state)

function inquirer.prompt.prompts.input.prototype.onKeypress ()

function inquirer.prompt.prompts.input.prototype.render (error)

module inquirer.prompt.prompts.list.prototype

function inquirer.prompt.prompts.list.prototype._run (cb)

function inquirer.prompt.prompts.list.prototype.getCurrentValue ()

function inquirer.prompt.prompts.list.prototype.onDownKey ()

function inquirer.prompt.prompts.list.prototype.onNumberKey (input)

function inquirer.prompt.prompts.list.prototype.onSubmit (value)

function inquirer.prompt.prompts.list.prototype.onUpKey ()

function inquirer.prompt.prompts.list.prototype.render ()

module inquirer.prompt.prompts.password.prototype

function inquirer.prompt.prompts.password.prototype._run (cb)

function inquirer.prompt.prompts.password.prototype.filterInput (input)

function inquirer.prompt.prompts.password.prototype.onEnd (state)

function inquirer.prompt.prompts.password.prototype.onError (state)

function inquirer.prompt.prompts.password.prototype.onKeypress ()

function inquirer.prompt.prompts.password.prototype.render (error)

module inquirer.prompt.prompts.rawlist.prototype

function inquirer.prompt.prompts.rawlist.prototype._run (cb)

function inquirer.prompt.prompts.rawlist.prototype.getCurrentValue (index)

function inquirer.prompt.prompts.rawlist.prototype.onEnd (state)

function inquirer.prompt.prompts.rawlist.prototype.onError ()

function inquirer.prompt.prompts.rawlist.prototype.onKeypress ()

function inquirer.prompt.prompts.rawlist.prototype.render (error)

module inquirer.ui

function inquirer.ui.BottomBar (opt)

function inquirer.ui.Prompt (prompts, opt)

module inquirer.ui.BottomBar

function inquirer.ui.BottomBar (opt)

function inquirer.ui.BottomBar.super_ (opt)

module inquirer.ui.BottomBar.prototype

function inquirer.ui.BottomBar.prototype.clean ()

function inquirer.ui.BottomBar.prototype.enforceLF (str)

function inquirer.ui.BottomBar.prototype.render ()

function inquirer.ui.BottomBar.prototype.updateBottomBar (bottomBar)

function inquirer.ui.BottomBar.prototype.write (message)

function inquirer.ui.BottomBar.prototype.writeLog (data)

module inquirer.ui.BottomBar.super_.prototype

function inquirer.ui.BottomBar.super_.prototype.close ()

function inquirer.ui.BottomBar.super_.prototype.onForceClose ()

module inquirer.ui.Prompt

function inquirer.ui.Prompt (prompts, opt)

function inquirer.ui.Prompt.super_ (opt)

module inquirer.ui.Prompt.prototype

function inquirer.ui.Prompt.prototype.fetchAnswer (question)

function inquirer.ui.Prompt.prototype.filterIfRunnable (question)

function inquirer.ui.Prompt.prototype.onCompletion (answers)

function inquirer.ui.Prompt.prototype.processQuestion (question)

function inquirer.ui.Prompt.prototype.run (questions)

function inquirer.ui.Prompt.prototype.setDefaultType (question)

[ this document was created with utility2 ]