Menus
thecodeah opened this issue · comments
Something like this:
index.js
cli.log("Choose one of the following options:");
const foo = await cli.promptMenu("option1", "option2", "option3");
console.log(foo); // Output: option2
terminal
Choose one of the following options:
> option1
> option2
> option3
This is still achievable with relative ease by using cli.question
, so to keep QuiCLI lightweight, this was removed.