Home / Function/ infoCommand.run() — astro Function Reference

infoCommand.run() — astro Function Reference

Architecture documentation for the infoCommand.run() function in info.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  69299e0e_fa4a_1369_4bdf_a028e4f8cc28["infoCommand.run()"]
  30f72813_7d64_af56_dffe_39978e8ee7fa["info.ts"]
  69299e0e_fa4a_1369_4bdf_a028e4f8cc28 -->|defined in| 30f72813_7d64_af56_dffe_39978e8ee7fa
  style 69299e0e_fa4a_1369_4bdf_a028e4f8cc28 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/cli/info/core/info.ts lines 24–28

	async run({ debugInfoProvider, getDebugInfoFormatter, logger, clipboard }: Options) {
		const debugInfo = await debugInfoProvider.get();
		logger.info('SKIP_FORMAT', getDebugInfoFormatter({ pretty: true }).format(debugInfo));
		await clipboard.copy(getDebugInfoFormatter({ pretty: false }).format(debugInfo));
	},

Domain

Subdomains

Frequently Asked Questions

What does infoCommand.run() do?
infoCommand.run() is a function in the astro codebase, defined in packages/astro/src/cli/info/core/info.ts.
Where is infoCommand.run() defined?
infoCommand.run() is defined in packages/astro/src/cli/info/core/info.ts at line 24.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free