JSPM

@v-act/inquirer-detail-list

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q14315F
  • License ISC

an inquirer plugin

Package Exports

  • @v-act/inquirer-detail-list
  • @v-act/inquirer-detail-list/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@v-act/inquirer-detail-list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

A Detail List Prompt for inquirer,use left/right arrow key to collapse/expand choice‘s detail. you need provide a query handler to request choice's detail.

QuickDemo

QuickDemo

Installation

npm install @v-act/inquirer-detail-list

Usage

This prompt is anonymous, meaning you can register this prompt with the type name you please:

const inquirer = require('inquirer');
inquirer.registerPrompt('detailList', require('@v-act/inquirer-detail-list'));
inquirer.prompt({
  type: 'detailList',
  ...
})

Change detailList to whatever you might prefer.

Options

See inquirer Querstion

examples

More examples