(yargs)
| 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) |
nothing calls this directly
no test coverage detected