Skip to content

Commit 1a90236

Browse files
committed
Added autocomplete search functionality to main menu action selection
1 parent d93504c commit 1a90236

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interactive.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ async function showMainMenu(instance, project) {
181181
console.log(chalk.blue(`\nCurrent Instance: ${chalk.bold(instance)}`));
182182
console.log(chalk.blue(`Current Project: ${chalk.bold(project)}\n`));
183183

184-
const action = await select({
185-
message: 'What would you like to do?',
184+
const action = await search({
185+
message: 'What would you like to do? (type to search)',
186186
choices: [
187187
{ value: 'listEnvironments', label: 'List Environments' },
188188
{ value: 'listUsers', label: 'List Users' },

0 commit comments

Comments
 (0)