CLIShortcut Type — vite Architecture
Architecture documentation for the CLIShortcut type/interface in shortcuts.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 6b3b12b9_1ae8_ddf3_9550_76ffa7e888d2["CLIShortcut"] ed89bdb5_1269_0bd7_7665_244657588aa2["shortcuts.ts"] 6b3b12b9_1ae8_ddf3_9550_76ffa7e888d2 -->|defined in| ed89bdb5_1269_0bd7_7665_244657588aa2 style 6b3b12b9_1ae8_ddf3_9550_76ffa7e888d2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/shortcuts.ts lines 27–31
export type CLIShortcut<Server = ViteDevServer | PreviewServer> = {
key: string
description: string
action?(server: Server): void | Promise<void>
}
Defined In
Source
Frequently Asked Questions
What is the CLIShortcut type?
CLIShortcut is a type/interface in the vite codebase, defined in packages/vite/src/node/shortcuts.ts.
Where is CLIShortcut defined?
CLIShortcut is defined in packages/vite/src/node/shortcuts.ts at line 27.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free