🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@mocks-server/plugin-inquirer-cli

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mocks-server/plugin-inquirer-cli

Mocks server plugin providing an interactive CLI

4.0.0
latest
Source
npm
Version published
Weekly downloads
20K
-6.52%
Maintainers
1
Weekly downloads
 
Created
Source

Mocks Server logo

Build Status Coverage Quality Gate Downloads Renovate License

Mocks Server Plugin Inquirer CLI

Mocks Server plugin that provides an interactive CLI that allows to change the server settings while it is running and displays logs and alerts.

Usage

This plugin is pre-installed in the main distribution of the Mocks Server project. If you want to install it by yourself, you can refer to the plugins documentation.

Interactive CLI

Main features

  • Displays current configuration. Settings will be refreshed automatically even when changed using other plugins, as the REST API, etc.
  • Allows to change some settings.
  • Displays current alerts. Alerts include errors when loading mock files, wrong options, etc.
  • Displays logs. Mocks-server logs are displayed in real time.

Options

  • enabled: <boolean> Start the interactive CLI or not. Default is true. Use false to disable it (--no-plugins.inquirerCli.enabled) when using command line arguments)
  • emojis: <boolean> Render emojis or not. Default is true.

Read more about how to set options in Mocks Server here.

Support

Inquirer is used for displaying the interactive CLI. You can consult its OS Terminals support here.

Contributing

Contributors are welcome. Please read the contributing guidelines and code of conduct.

Keywords

mocks-server-plugin

FAQs

Package last updated on 14 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts