Home / File/ help.ts — astro Source File

help.ts — astro Source File

Architecture documentation for help.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.

File typescript CoreAstro CoreMiddleware 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  08a2b84e_aa58_3283_f02a_1b94642044f8["help.ts"]
  73414401_e2bb_915f_9b7e_7876ce05c609["./messages.js"]
  08a2b84e_aa58_3283_f02a_1b94642044f8 --> 73414401_e2bb_915f_9b7e_7876ce05c609
  style 08a2b84e_aa58_3283_f02a_1b94642044f8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { printHelp } from '../messages.js';

export function help() {
	printHelp({
		commandName: '@astrojs/upgrade',
		usage: '[version] [...flags]',
		headline: 'Upgrade Astro dependencies.',
		tables: {
			Flags: [
				['--help (-h)', 'See all available flags.'],
				['--dry-run', 'Walk through steps without executing.'],
			],
		},
	});
}

Domain

Subdomains

Functions

Dependencies

  • ./messages.js

Frequently Asked Questions

What does help.ts do?
help.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, CoreMiddleware subdomain.
What functions are defined in help.ts?
help.ts defines 1 function(s): help.
What does help.ts depend on?
help.ts imports 1 module(s): ./messages.js.
Where is help.ts in the architecture?
help.ts is located at packages/upgrade/src/actions/help.ts (domain: CoreAstro, subdomain: CoreMiddleware, directory: packages/upgrade/src/actions).

Analyze Your Own Codebase

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

Try Supermodel Free