MCPcopy Create free account
hub / github.com/prettier/prettier / parseArgvWithoutPlugins

Function parseArgvWithoutPlugins

src/cli/options/parse-cli-arguments.js:40–47  ·  view source on GitHub ↗
(rawArguments, logger, keys)

Source from the content-addressed store, hash-verified

38const { detailedOptions: detailedOptionsWithoutPlugins } =
39 getContextOptionsWithoutPlugins();
40function parseArgvWithoutPlugins(rawArguments, logger, keys) {
41 return parseArgv(
42 rawArguments,
43 detailedOptionsWithoutPlugins,
44 logger,
45 typeof keys === "string" ? [keys] : keys,
46 );
47}
48
49export { parseArgv, parseArgvWithoutPlugins };

Callers 2

runFunction · 0.90
initMethod · 0.90

Calls 1

parseArgvFunction · 0.85

Tested by

no test coverage detected