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

Installation
npm install @v-act/inquirer-detail-listUsage
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
examples
More examples