BindCLIShortcutsOptions Type — vite Architecture
Architecture documentation for the BindCLIShortcutsOptions type/interface in shortcuts.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD e084a4d5_2a88_5ae8_d854_c285c600b6f9["BindCLIShortcutsOptions"] ed89bdb5_1269_0bd7_7665_244657588aa2["shortcuts.ts"] e084a4d5_2a88_5ae8_d854_c285c600b6f9 -->|defined in| ed89bdb5_1269_0bd7_7665_244657588aa2 style e084a4d5_2a88_5ae8_d854_c285c600b6f9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/shortcuts.ts lines 14–25
export type BindCLIShortcutsOptions<Server = ViteDevServer | PreviewServer> = {
/**
* Print a one-line shortcuts "help" hint to the terminal
*/
print?: boolean
/**
* Custom shortcuts to run when a key is pressed. These shortcuts take priority
* over the default shortcuts if they have the same keys (except the `h` key).
* To disable a default shortcut, define the same key but with `action: undefined`.
*/
customShortcuts?: CLIShortcut<Server>[]
}
Defined In
Source
Frequently Asked Questions
What is the BindCLIShortcutsOptions type?
BindCLIShortcutsOptions is a type/interface in the vite codebase, defined in packages/vite/src/node/shortcuts.ts.
Where is BindCLIShortcutsOptions defined?
BindCLIShortcutsOptions is defined in packages/vite/src/node/shortcuts.ts at line 14.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free