mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Update interactive.js
This commit is contained in:
parent
dea9bda492
commit
fe20b3061e
@ -3,9 +3,13 @@ import chalk from "chalk";
|
|||||||
import inquirer from "inquirer";
|
import inquirer from "inquirer";
|
||||||
import { showHelpText } from "./help-message.js";
|
import { showHelpText } from "./help-message.js";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @import { Option } from "./main.js"
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prompt the user to interactively select an option (console/file) to retrieve the egg move CSV.
|
* Prompt the user to interactively select an option (console/file) to retrieve the egg move CSV.
|
||||||
* @returns {Promise<{type: "Console" | "File", value: string} | {type: "Exit"}>} The selected option with value
|
* @returns {Promise<Option>} The selected option with value
|
||||||
*/
|
*/
|
||||||
export async function runInteractive() {
|
export async function runInteractive() {
|
||||||
/** @type {"Console" | "File" | "Help" | "Exit"} */
|
/** @type {"Console" | "File" | "Help" | "Exit"} */
|
||||||
|
Loading…
Reference in New Issue
Block a user