From 04a7660a04658a9fabf320587ca7b2683e377a62 Mon Sep 17 00:00:00 2001 From: Xmader Date: Sat, 31 Jul 2021 22:53:57 -0400 Subject: [PATCH] feat: show filetypes unavailable in express download --- src/cli.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index 3360a42..4b5c68a 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -76,8 +76,19 @@ const expDL = async (scoreinfo: ScoreInfoHtml) => { type: 'checkbox', name: 'expDlTypes', message: 'Filetype Selection', - choices: ['midi', 'mp3', 'pdf'] as ExpDlType[], + choices: [ + 'midi', 'mp3', 'pdf', // ExpDlType + new inquirer.Separator(), + new inquirer.Separator( + 'Unavailable in express download\n' + + ' - MSCZ\n' + + ' - MusicXML\n' + + ' - FLAC/OGG Audio\n' + + ' - Individual Parts', + ), + ], validate: checkboxValidate, + pageSize: Infinity, }) // destination directory selection