How to use the inquirer.log function in inquirer

To help you get started, we’ve selected a few inquirer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bhagn / simple-shell / index.js View on Github external
handler: helpHandler

      name: 'exit',
      help: 'Exit the console',
      handler: function() {

  SimpleShell.initialize = initialize;
  SimpleShell.registerCommand = registerCommand;
  SimpleShell.startConsole = startConsole;
  SimpleShell.log = log; = info;
  SimpleShell.warn = warn;
  SimpleShell.error = error;
  SimpleShell.success = success;

  module.exports = SimpleShell;