MCPcopy Create free account
hub / github.com/appium/appium / builder

Function builder

packages/docutils/lib/cli/command/validate.ts:60–67  ·  view source on GitHub ↗
(yargs)

Source from the content-addressed store, hash-verified

58 command: 'validate',
59 describe: 'Validate Environment',
60 builder(yargs) {
61 return yargs.options(opts).check(async (argv) => {
62 if (!argv.python && !argv.mkdocs) {
63 return 'No validation targets specified; one or more of --python or --mkdocs must be provided';
64 }
65 return checkMissingPaths(opts, ValidateCommandGroup.Paths, argv);
66 });
67 },
68 async handler(args) {
69 let errorCount = 0;
70 const validator = new DocutilsValidator(args)

Callers

nothing calls this directly

Calls 1

checkMissingPathsFunction · 0.85

Tested by

no test coverage detected