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

Function handler

packages/docutils/lib/cli/command/build.ts:194–206  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

192 );
193 },
194 async handler(args) {
195 log.info('Building docs...');
196 const stop = stopwatch('build');
197 log.debug('Build command called with args: %O', args);
198 if (args.site) {
199 if (args.deploy) {
200 await deploy(args);
201 } else {
202 await buildSite(args);
203 }
204 }
205 log.success('Done! (total: %dms)', stop());
206 },
207} as CommandModule<object, BuildOptions>;

Callers

nothing calls this directly

Calls 5

stopwatchFunction · 0.85
deployFunction · 0.85
buildSiteFunction · 0.85
infoMethod · 0.65
debugMethod · 0.65

Tested by

no test coverage detected