UNPKG

1.09 kBJavaScriptView Raw
1/**
2 * Quasar App Extension prompts script
3 *
4 * Inquirer prompts
5 * (answers are available as "api.prompts" in the other scripts)
6 * https://www.npmjs.com/package/inquirer#question
7 *
8 * Example:
9
10 return [
11 name: {
12 type: 'string',
13 required: true,
14 message: 'Quasar CLI Extension name (without prefix)',
15 },
16 preset: {
17 type: 'checkbox',
18 message: 'Check the features needed for your project:',
19 choices: [
20 {
21 name: 'Install script',
22 value: 'install'
23 },
24 {
25 name: 'Prompts script',
26 value: 'prompts'
27 },
28 {
29 name: 'Uninstall script',
30 value: 'uninstall'
31 }
32 ]
33 }
34 ]
35
36 */
37
38module.exports = function () {
39 return [
40 {
41 type: 'confirm',
42 name: 'import_md',
43 message: 'Do you want to be able to import markdown (*.md) files?',
44 default: true
45 },
46 {
47 type: 'confirm',
48 name: 'import_vmd',
49 message: 'Do you want to be able to import vue+markdown (*.vmd) files?',
50 default: true
51 }
52 ]
53}