MCPcopy Create free account
hub / github.com/DavidWells/analytics / DocsCommand

Class DocsCommand

packages/analytics-cli/src/commands/docs.js:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6const dox = require('dox')
7
8class DocsCommand extends Command {
9 async run() {
10 const markdownFiles = [
11 path.join(process.cwd(), 'README.md'),
12 '!node_modules'
13 ]
14 markdownMagic(markdownFiles, config, () => {
15 console.log(`Analytics documentation updated ${process.cwd()}`)
16 })
17 }
18}
19
20DocsCommand.description = `Generate Analytic plugin documentation`
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected