alwaysai
Version:
The alwaysAI command-line interface (CLI)
17 lines • 686 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.aai = void 0;
const alwayscli_1 = require("@alwaysai/alwayscli");
const root_1 = require("./root");
const run_with_echo_and_proceed_prompt_1 = require("./components/general/run-with-echo-and-proceed-prompt");
const argvInterface = (0, alwayscli_1.CliArgvInterface)(root_1.root);
async function aai(argvString, props = {}) {
const { yes = false } = props;
const argv = argvString.split(' ');
await (0, run_with_echo_and_proceed_prompt_1.runWithEchoAndProceedPrompt)(argvInterface, argv, {
yes,
functionName: 'aai'
});
}
exports.aai = aai;
//# sourceMappingURL=aai.js.map