How to use the inquirer.info 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
});

    SimpleShell.registerCommand({
      name: 'exit',
      help: 'Exit the console',
      handler: function() {
        rl.close();
      }
    });
  }

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

  module.exports = SimpleShell;

})(module);