feat: github workflow

This commit is contained in:
valknarness
2025-10-26 13:48:23 +01:00
parent 700c73bcbf
commit 4cdcc62e15
9 changed files with 1605 additions and 3 deletions

View File

@@ -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'));
}