@sap-devx/inquirer-gui-label-plugin
v3.4.6
Published
Label plugin for inquirer-gui
Keywords
Readme
Label Plugin for Inquirer-gui
This plugin presents a label (read-only).

Installation
npm install --save @sap-devx/inquirer-gui-label-pluginUsage
- The
guiOptionstype property of the Inquirer.js question must be of typelabel. - You must provide a
defaultvalue or implementdefaultfunction. - Note that if your question is an Inquirer.js question or part of a Yeoman generator and the question is shown in a command-line interface (CLI), the
inputtype will be shown instead
Sample Question
{
type: "input",
guiOptions: {
type: "label"
},
name: "label_example",
message: "Label-Plugin",
default: '<p style="color:green">Default value for <a href="https://github.com/SAP/inquirer-gui/tree/master/label-plugin">Label-Plugin</a> with html tags.</p>'
}