1
Fork 0

Add headers to prompt sections.

This commit is contained in:
Bauke 2023-02-21 14:27:51 +01:00
parent e341d5ca61
commit be02d685e5
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,7 @@ async function main(): Promise<void> {
dataMissions.sort((a, b) => b.Index - a.Index); dataMissions.sort((a, b) => b.Index - a.Index);
if (options.add) { if (options.add) {
console.log("## General Info");
const promptResults = await prompt.prompt( const promptResults = await prompt.prompt(
[ [
{ {
@ -193,6 +194,7 @@ async function main(): Promise<void> {
], ],
); );
console.log("## Collectables");
const collectableResults = await prompt.prompt([ const collectableResults = await prompt.prompt([
{ {
type: prompt.Number, type: prompt.Number,
@ -268,6 +270,7 @@ async function main(): Promise<void> {
}, },
]); ]);
console.log("## Credits Breakdown");
const creditResults = await prompt.prompt([ const creditResults = await prompt.prompt([
{ {
type: prompt.Number, type: prompt.Number,
@ -332,6 +335,7 @@ async function main(): Promise<void> {
}, },
]); ]);
console.log("## Experience Breakdown");
const experienceResults = await prompt.prompt([ const experienceResults = await prompt.prompt([
{ {
type: prompt.Number, type: prompt.Number,
@ -397,6 +401,7 @@ async function main(): Promise<void> {
}, },
]); ]);
console.log("## Performance");
const performanceResults = await prompt.prompt([ const performanceResults = await prompt.prompt([
{ {
type: prompt.Number, type: prompt.Number,