3.0.3 • Published 3 months ago

@sap-devx/inquirer-gui-label-plugin v3.0.3

Weekly downloads
42
License
Apache-2.0
Repository
github
Last release
3 months ago

Label Plugin for Inquirer-gui

This plugin presents a label (read-only).

Inquirer-gui Label

Installation

npm install --save @sap-devx/inquirer-gui-label-plugin

Usage

  • The guiOptions type property of the Inquirer.js question must be of type label.
  • You must provide a default value or implement default function.
  • 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 input type 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>'
}
3.0.3

3 months ago

3.0.2

8 months ago

3.0.1

8 months ago

3.0.0

9 months ago

0.0.1

3 years ago