MCPcopy
hub / github.com/prettier/prettier / runPrettierCli

Function runPrettierCli

tests/integration/run-cli.js:141–146  ·  view source on GitHub ↗
(dir, args, options)

Source from the content-addressed store, hash-verified

139}
140
141function runPrettierCli(dir, args, options) {
142 dir = path.resolve(INTEGRATION_TEST_DIRECTORY, dir);
143 args = Array.isArray(args) ? args : [args];
144
145 return runCliWorker(dir, args, options);
146}
147
148/**
149 * @param {string} dir

Callers 1

runCliFunction · 0.85

Calls 1

runCliWorkerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…