First list and integer questions, spaces to tabs

This commit is contained in:
Will Boyd
2025-02-01 08:27:58 -05:00
parent cf338813f1
commit f6197d1d70
6 changed files with 84 additions and 55 deletions
+19 -7
View File
@@ -1,6 +1,14 @@
import * as inquirer from '@inquirer/prompts';
// questions with a description are displayed in command line help
// questions with a prompt are included in the wizard (if not set on the command line)
export const all = [
{
name: 'wizard',
type: 'boolean',
description: 'Use wizard',
default: true
},
{
name: 'input',
type: 'file-path',
@@ -91,16 +99,20 @@ export const all = [
],
prompt: inquirer.select
},
{
name: 'wizard',
type: 'boolean',
description: 'Use wizard',
default: true
},
{
name: 'output',
type: 'folder-path',
description: 'Path to output folder',
default: 'output'
}
},
{
name: 'frontmatter-fields',
type: 'list',
default: ['title', 'date', 'categories', 'tags', 'coverImage']
},
{
name: 'image-file-request-delay',
type: 'integer',
default: 500
},
];