aoc-automation
Version:
Advent of Code tool to automate the repetitive parts of AoC.
21 lines (20 loc) • 336 B
JavaScript
import prompts from "prompts";
const onCancel = () => {
process.exit();
};
const commandPrompt = () => {
return prompts(
[
{
type: "text",
name: "command",
message: ``
}
],
{ onCancel }
);
};
var commandPrompt_default = commandPrompt;
export {
commandPrompt_default as default
};