cookie-ai-cli
Version:
A command-line interface tool designed to bridge the gap between natural language processing and command-line operations.
12 lines • 475 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.promptUser = void 0;
const ask_question_1 = require("./ask-question");
const send_chat_1 = require("./send-chat");
async function promptUser({ rl }) {
let answer = await (0, ask_question_1.askQuestion)(rl, "Enter your command: ");
await (0, send_chat_1.sendChat)({ message: answer, rl });
return answer;
}
exports.promptUser = promptUser;
//# sourceMappingURL=prompt-user.js.map
;