/* * @Author: fhj * @LastEditors: fhj * @Description: */ const { notEmpty } = require('../utils.js') module.exports = { description: 'generate a view', prompts: [{ type: 'input', name: 'name', message: '请输入view名', validate: notEmpty('name') }, { type: 'checkbox', name: 'blocks', message: 'Blocks:', choices: [{ name: '