MCPcopy Index your code
hub / github.com/Explosion-Scratch/firebuilder / confirm

Function confirm

cli.js:149–163  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

147 }
148};
149const confirm = async (q) => {
150 // If run like bun cli.js ~/Downloads/config.json
151 if (PROFILE_PATH_CLI) {
152 return true;
153 }
154 return await inquirer
155 .prompt([
156 {
157 type: "confirm",
158 name: "conf",
159 message: q,
160 },
161 ])
162 .then((a) => a.conf);
163};
164
165// TODO: Positional ags:
166/*

Callers 1

cli.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected