help.ts — astro Source File
Architecture documentation for help.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 35fd9215_b000_0d0c_0933_5f9d91ad68b9["help.ts"] 0d2ed6a4_ba13_53b9_91e8_1ccbdcaac22b["../messages.js"] 35fd9215_b000_0d0c_0933_5f9d91ad68b9 --> 0d2ed6a4_ba13_53b9_91e8_1ccbdcaac22b style 35fd9215_b000_0d0c_0933_5f9d91ad68b9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { printHelp } from '../messages.js';
export function help() {
printHelp({
commandName: 'create-astro',
usage: '[dir] [...flags]',
headline: 'Scaffold Astro projects.',
tables: {
Flags: [
['--help (-h)', 'See all available flags.'],
['--template <name>', 'Specify your template.'],
['--install / --no-install', 'Install dependencies (or not).'],
['--add <integrations>', 'Add integrations.'],
['--git / --no-git', 'Initialize git repo (or not).'],
['--yes (-y)', 'Skip all prompts by accepting defaults.'],
['--no (-n)', 'Skip all prompts by declining defaults.'],
['--dry-run', 'Walk through steps without executing.'],
['--skip-houston', 'Skip Houston animation.'],
['--ref', 'Choose astro branch (default: latest).'],
['--fancy', 'Enable full Unicode support for Windows.'],
],
},
});
}
Domain
Subdomains
Functions
Dependencies
- ../messages.js
Source
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, RenderingEngine 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/create-astro/src/actions/help.ts (domain: CoreAstro, subdomain: RenderingEngine, directory: packages/create-astro/src/actions).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free