serverShortcuts() — astro Function Reference
Architecture documentation for the serverShortcuts() function in messages.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 244ede25_ef6b_dd01_0937_3f0603d09c9d["serverShortcuts()"] ce8a1f23_2e04_913c_b0e9_62fe9c673b36["messages.ts"] 244ede25_ef6b_dd01_0937_3f0603d09c9d -->|defined in| ce8a1f23_2e04_913c_b0e9_62fe9c673b36 style 244ede25_ef6b_dd01_0937_3f0603d09c9d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/messages.ts lines 82–84
export function serverShortcuts({ key, label }: { key: string; label: string }): string {
return [dim(' Press'), key, dim('to'), label].join(' ');
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does serverShortcuts() do?
serverShortcuts() is a function in the astro codebase, defined in packages/astro/src/core/messages.ts.
Where is serverShortcuts() defined?
serverShortcuts() is defined in packages/astro/src/core/messages.ts at line 82.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free