Skip to content

Commit

Permalink
feat(menu): update menu options with ai features
Browse files Browse the repository at this point in the history
  • Loading branch information
RajaRakoto committed Nov 25, 2024
1 parent f9f4a01 commit 199ce90
Showing 1 changed file with 23 additions and 27 deletions.
50 changes: 23 additions & 27 deletions src/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,27 @@ import * as emoji from "node-emoji";
// ==============================

export const menu_prompt = [
{
type: "list",
name: "menu",
message: chalk.green("What do you want to do ..."),
loop: false,
pageSize: 15,
choices: [
new inquirer.Separator("=============== option list =============="),
{
name: `${emoji.get("pushpin")} option 1`,
value: "option-1",
},
{
name: `${emoji.get("pushpin")} option 2`,
value: "option-2",
},
{
name: `${emoji.get("pushpin")} option 3`,
value: "option-3",
},
new inquirer.Separator("=========================================="),
{
name: chalk.red(`${emoji.get("door")} exit`),
value: "exit",
},
],
},
{
type: "list",
name: "menu",
message: chalk.green("What do you want to do ..."),
loop: false,
pageSize: 15,
choices: [
new inquirer.Separator("=============== AI =============="),
{
name: `${emoji.get("pushpin")} Check AI status`,
value: "aiStatus",
},
{
name: `${emoji.get("pushpin")} Analyze PDF files with AI`,
value: "aiPDF",
},
new inquirer.Separator("=========================================="),
{
name: chalk.red(`${emoji.get("door")} exit`),
value: "exit",
},
],
},
];

0 comments on commit 199ce90

Please sign in to comment.