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.
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.