Socket
Socket
Sign inDemoInstall

@mocks-server/plugin-inquirer-cli

Package Overview
Dependencies
315
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mocks-server/plugin-inquirer-cli

Mocks server plugin providing an interactive CLI


Version published
Weekly downloads
21K
increased by7.03%
Maintainers
1
Install size
12.7 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 14 Sep 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc