feat: github workflow
This commit is contained in:
@@ -22,6 +22,7 @@ async function showMainMenu() {
|
||||
{ name: `${chalk.hex('#DA22FF')('📖')} Reading History`, value: 'history' },
|
||||
new inquirer.Separator(chalk.gray('─'.repeat(50))),
|
||||
{ name: `${chalk.hex('#FF69B4')('🔧')} Build/Rebuild Index`, value: 'index' },
|
||||
{ name: `${chalk.hex('#9733EE')('💾')} Download Pre-Built Database`, value: 'db' },
|
||||
{ name: `${chalk.hex('#FFD700')('📊')} Statistics`, value: 'stats' },
|
||||
{ name: `${chalk.hex('#DA22FF')('⚙️')} Settings`, value: 'settings' },
|
||||
new inquirer.Separator(chalk.gray('─'.repeat(50))),
|
||||
@@ -98,6 +99,11 @@ async function handleMenuChoice(choice) {
|
||||
await settings.manage();
|
||||
break;
|
||||
|
||||
case 'db':
|
||||
const dbDownload = require('./db-download');
|
||||
await dbDownload.manage();
|
||||
break;
|
||||
|
||||
default:
|
||||
console.log(chalk.yellow('Invalid choice'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user